Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Question about __PACKAGE__by gam3 (Curate) |
on Jan 22, 2010 at 02:19 UTC ( [id://818871]=note: print w/replies, xml ) | Need Help?? |
These are exactly the same after the compile stage
These are also the same The difference between f('x') and 'x'->f() is that if there is no sub f {} in Foo @INC will be used to look for one. Look at UNIVERSAL and perltoot.
-- gam3 A picture is worth a thousand words, but takes 200K.
In Section
Seekers of Perl Wisdom
|
|