|
|
| There's more than one way to do things | |
| PerlMonks |
Re: quick question on modulesby LanX (Monsignor) |
| on Feb 01, 2013 at 09:38 UTC ( #1016488=note: print w/ replies, xml ) | Need Help?? |
|
Normally no! Use means that a module-function import() is called at BEGIN-time. Normally this function is inherited by Exporter module and does only an aliasing of imported functions. And aliasing costs only some bytes, not enough to be discussed. But a module author can chose to define his own import and do whatever he wants... so no general answer here.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||