use Module LIST is equivalent to: BEGIN { require Module; import Module LIST; }
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 reply to Re^2: Understanding use and require fully
by chromatic
in thread Understanding use and require fully
by rpike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |