more useful options | |
PerlMonks |
Re: Where and when you should place 'use module;'?by jbrugger (Parson) |
on Oct 12, 2005 at 13:32 UTC ( [id://499477]=note: print w/replies, xml ) | Need Help?? |
Depends, if using mod-perl try loading them in the startup.pl, so they're precompiled and used in the shared memory.
Else, i'd use require module to make sure it's only used (and compiled) as needed.
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
In Section
Seekers of Perl Wisdom
|
|