boysenberry has asked for the wisdom of the Perl Monks concerning the following question:
I'm getting some "Attempt to free unreferenced scalar" errors while using mod_perl and am trying to use Devel::Leak and/or Devel::LeakTrace to find out which scalar references are off.
In the Devel::Leak doc it gives the following as an example:In the above what would $handle be? I'm using my own PerlHandler in my httpd.conf file.use Devel::Leak; ... setup code my $count = Devel::Leak::NoteSV($handle); ... code that may leak Devel::Leak::CheckSV($handle);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need Help gettng Devel::Leak working (or Devel::LeakTrace)
by Util (Priest) on Aug 20, 2005 at 19:37 UTC | |
by boysenberry (Acolyte) on Aug 20, 2005 at 21:38 UTC | |
|
Re: Need Help gettng Devel::Leak working (or Devel::LeakTrace)
by boysenberry (Acolyte) on Aug 20, 2005 at 22:42 UTC |