Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: subroutine good practiseby tospo (Hermit) |
on Oct 30, 2012 at 12:04 UTC ( [id://1001491]=note: print w/replies, xml ) | Need Help?? |
I'd say that depends on whether you would expect that script to use both modules in the end, e.g. if this is in a loop and every time you have a 50% chance of one or the other being needed than you might as well load (use) both modules at compile time with the added advantage of having all your requirements at the top of your script instead of somewhere in a sub.
In Section
Seekers of Perl Wisdom
|
|