Do you know where your variables are? | |
PerlMonks |
Re: package magic or am I missing something?by janx (Monk) |
on Jun 18, 2002 at 20:00 UTC ( [id://175484]=note: print w/replies, xml ) | Need Help?? |
That's a good one.
It's a wonderful example of indirect object syntax. See
The Bag'o'Tricks. perl -MO=Deparseshows what happens:
As you see, the gives you the object, which you can happily call a method on ;-) Kay
In Section
Seekers of Perl Wisdom
|
|