use is just require + import at compile time.
BEGIN { require Module; Module->import( LIST ); }
One is free to use import for any kind of compile time effects (like executing a source filter or activating pragmas or even calling extend() )
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery
In reply to Re^3: Passing an import list to Moose extends
by LanX
in thread Passing an import list to Moose extends
by davido
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |