http://qs321.pair.com?node_id=977741


in reply to suggested module/tools to automatically "tighten" my perl

Is lazy loading an option?

I.E. can you replace global use and require statements with a lazy loader such as autouse or Class::Autouse.

Alternatively, can you require modules just in time?

# conditional use of require if ($heavy_lifting_needed) { require BigModule; ## BigModule->import(); # maybe BigModule->do_stuff(); }
This could be of benefit: