perl question
Tomoki Taniguchi
tomoki.taniguchi at gmail.com
Tue Jul 14 05:56:22 UTC 2009
does anyone know how to get the CLASSNAME of a perl object?
lets say i have a
$obj = SOMECLASS->new();
at which point the object is of class type "SOMECLASS"
if at a later point i wanted to get the classname of the $obj,
is there anyway to do it?
either through a method like $obj->get_classname?
or through accessing a variable like $obj->CLASSNAME?
anyone able to help me?
TIA,
Tomoki
More information about the ubuntu-users
mailing list