in reply to Reducing Perl's memory footprint depending on run mode

Alternately, have a different statup.pl for each mode, containing all the appropriate use statements. Then, you require the appropriate one at startup in a BEGIN block, based on some configuration setting.
  • Comment on Re: Reducing Perl's memory footprint depending on run mode