![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^2: Understanding use and require fullyby chromatic (Archbishop) |
on Aug 01, 2008 at 17:44 UTC ( #701757=note: print w/replies, xml ) | Need Help?? |
Nit: it's actually equivalent to: BEGIN { require Module; Module->import( LIST ); }use always performs a method call, where the indirect invocation form you had sometimes does not perform a method call. (If you want to be very specific, it's probably closer to Module::->import( LIST ), but you have to read the code to Perl_utilize() in C to make sure of that.)
In Section
Seekers of Perl Wisdom
|
|