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

I think you'd still have to make those require() instead of use(). Otherwise, they will all get run before evaluating the if statement, even in a BEGIN block.
  • Comment on Re^2: Reducing Perl's memory footprint depending on run mode

Replies are listed 'Best First'.
Re^3: Reducing Perl's memory footprint depending on run mode
by ides (Deacon) on Apr 25, 2005 at 14:53 UTC
    Yup you guys are right, they needed to have been requires not uses. That's what I get for replying without testing my code. :)

    Frank Wiles <frank@wiles.org>
    http://www.wiles.org