I have a couple of questions regarding leaking memory in mod_perl: 1. What are the main culprits, in order of severity, of memory leaks, i.e.:
a. global variables (NOT lexically scoped via my) b. ... c. ... 2. When writing code from scratch (a new application), what is the best way to avoid creating leaks to begin with, i.e., use strict;, PerlWarn On, etc.. ? I posted an earlier question regarding Apache::Leak which I am hoping to receive some positive input. I would like to check my final product once completed to ensure no leaks exist. Thanks everyone. Gregory