Syntactic Confectionery Delight | |
PerlMonks |
Re: Using a module more than onceby cowboy (Friar) |
on Aug 02, 2005 at 21:04 UTC ( [id://480297]=note: print w/replies, xml ) | Need Help?? |
I think everyone else has covered the use vs require. One benefit to them adding use statements is in an environment such as mod_perl or another environment where alot of processes are forked from a parent. In this case, if you load the modules in the parent process process, the memory can be shared among the children using the OS's copy-on-write abilities.
In Section
Seekers of Perl Wisdom
|
|