http://www.perlmonks.org?node_id=1001491


in reply to Re^2: subroutine good practise
in thread subroutine good practise

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.