Test::LeakTrace::Script(3) User Contributed Perl Documentation
NAME
Test::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"; };
DESCRIPTION
This is a interface to "Test::LeakTrace" for whole scripts.
INTERFACE
Command line interface $ perl -MTest::LeakTrace::Script script.pl $ perl -MTest::LeakTrace::Script=-verbose script.pl $ TEST_LEAKTRACE=-lines script.pl
ENVIRONMENT VARIABLES
TEST_LEAKTRACE=mode -simple (DEFAULT) -sv_dump -lines -verbose
SEE ALSO
Test::LeakTrace(3). perl v5.34.1 2021-01-05 Test::LeakTrace::Script(3)
test-leaktrace 0.170.0 - Generated Tue Jan 23 13:52:46 CST 2024