Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Test::LeakTrace::Script

Name Test::LeakTrace::Script
Version
Located at /usr/local/lib64/perl5
File /usr/local/lib64/perl5/Test/LeakTrace/Script.pm
Is Core No
Search CPAN for this module Test::LeakTrace::Script
Documentation Test::LeakTrace::Script
Module Details Test::LeakTrace::Script

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

the Test::LeakTrace manpage.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024