Hello.

I've read the recommendation in

http://perl.apache.org/guide/control.html#All_RAM_Consumed

to put a sub like that 

 sub UNIVERSAL::AUTOLOAD {
               my $class = shift;
               warn "$class can't \$UNIVERSAL::AUTOLOAD!\n";
             }

to trap the memory leaking that can occur if a sub is undefined. But
where should I put this sub? In all my mod-perl module? In my startup.pl
file?

And, since I'm there, anyone can recommend me a way to hunt the memory
leak of my modules? I've inherit an already well developped site that
leak a lot and I'd like to trap those memory leaking... I'm on Solaris,
if that can help...


-- 
Benoit Caron
Programmeur / Chargé de projet
Netgraphe - La Toile du Québec Communications
[EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - -
Hi, I'm a signature virus. plz set me as your signature and help me
spread
:)

Reply via email to