Devel::LeakTrace - indicate where leaked variables are coming from.
perl -MDevel::LeakTrace -e '{ my $foo; $foo = \$foo }' leaked SV(0x528d0) from -e line 1 leaked SV(0x116a10) from -e line 1
This module has external dependencies on the following modules:
Module::Build 0.19 Test::More
perl Build.PL perl Build test
and if all goes well
perl Build install
What changed over the last 3 revisions
Fix the INIT/BEGIN thing correctly by adding resetting as an independant action Small speedup. At every boundary check that PL_sv_count hasn't changed. There's potential for this to fuck up in the case where you free and create an SV in the same statement. Never mind the correctness, feel the speed.
Port to Module::Build 0.19 Couple of speedups in not doing quite as much mallocing - 25% then 2.3%
Test suite fixes
Richard Clamp <richardc@unixbeard.net> with portions of LeakTrace.xs taken from Nick Ing-Simmons' Devel::Leak module.
Copyright (C) 2002 Richard Clamp. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Devel::Leak, Devel::Cover
To install Devel::LeakTrace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::LeakTrace
CPAN shell
perl -MCPAN -e shell install Devel::LeakTrace
For more information on module installation, please visit the detailed CPAN module installation guide.