|
NAMETest::LeakTrace::Script - A LeakTrace interface for whole scripts SYNOPSIS #!perl -w
use Test::LeakTrace::Script sub{
my($svref, $file, $line) = @_;
warn "leaked $svref from $file line $line.\n";
};
DESCRIPTIONThis is a interface to "Test::LeakTrace" for whole scripts. INTERFACECommand line interface $ perl -MTest::LeakTrace::Script script.pl
$ perl -MTest::LeakTrace::Script=-verbose script.pl
$ TEST_LEAKTRACE=-lines script.pl
ENVIRONMENT VARIABLESTEST_LEAKTRACE=mode-simple (DEFAULT) -sv_dump -lines -verbose SEE ALSOTest::LeakTrace.
|