Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Test::LeakTrace::ScripUser Contributed Perl DocumentTest::LeakTrace::Script(3)

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.

perl v5.32.0			  2017-06-17	    Test::LeakTrace::Script(3)

NAME | SYNOPSIS | DESCRIPTION | INTERFACE | ENVIRONMENT VARIABLES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Test::LeakTrace::Script&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help