perl question

Knapp magick.crow at gmail.com
Tue Jul 14 06:12:16 UTC 2009


On Tue, Jul 14, 2009 at 7:56 AM, Tomoki
Taniguchi<tomoki.taniguchi at gmail.com> wrote:
> 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

Perhaps someone will have your answer here but it is not the place for
the question. I suggest you install KVicr or something like it and go
to the Perl channel and ask there. You will get your answer faster and
it is the right place to ask.
Best,

irc://irc.freenode.net/#perl

-- 
Douglas E Knapp

Why do we live?




More information about the ubuntu-users mailing list