perl question

Tomoki Taniguchi tomoki.taniguchi at gmail.com
Wed Jul 15 15:16:50 UTC 2009


thank you very much.
that worked beautifully


On Wed, Jul 15, 2009 at 2:16 AM, Smoot Carl-Mitchell<smoot at tic.com> wrote:
> On Tue, 2009-07-14 at 08:12 +0200, Knapp wrote:
>> 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
>
> Another good Perl resource is the Perl beginners list.
>
> beginners at perl.org.
>
> To answer your question run:
>
> perldoc -f ref
>
> to find out what "ref" does.
> --
> Smoot Carl-Mitchell
> Computer Systems and
> Network Consultant
> smoot at tic.com
> +1 480 922 7313
> cell: +1 602 421 9005
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Tomoki Taniguchi
SKYPE: taiyocable.com_taniguchi_tomoki
MSN: tomoki_taniguchi at hotmail.com
YAHOO: tomoki_taniguchi
AIM: tomoki taniguchi




More information about the ubuntu-users mailing list