I'm working with a large Perl application that has a couple of different run modes. One of these modes is a full-bore mode and it needs to call in lots of modules. Another mode is much simpler (think of it as read-only) and doesn't require nearly as many modules.
I've looked in the Perl man pages, looked in the Camel, googled a little and used Super Search here on PM but haven't yet come across anything that will help me reduce the memory footprint (by not pulling in modules that aren't used).
The only solution that I can think of is to only use the modules if we're running in the 'full-bore' mode. Does that make sense? Any other suggestions, comments?
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
In reply to Reducing Perl's memory footprint depending on run mode by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |