Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How to dynamically load modulesby ikegami (Patriarch) |
on May 03, 2005 at 15:51 UTC ( [id://453656]=note: print w/replies, xml ) | Need Help?? |
You can do
which is the same as
The first two snippet imports the symbols if the module uses Exporter or similar. However, instead of importing, it be safer to do
The last snippet requires that function accept an extra initial argument.
In Section
Seekers of Perl Wisdom
|
|