The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sledge::Plugin::DebugLeakChecker - Show the memory leak situation of perl modules for Sledge

VERSION

Version 0.01

SYNOPSIS

Apache setting

At first, write this in the startup.pl

    BEGIN {
        use Devel::Leak::Object qw{ GLOBAL_bless };
    }

Example of httpd.conf when I debug it.

    MinSpareServers      1
    MaxSpareServers      1
    StartServers         1
    MaxRequestsPerChild  0

Sledge Pages Class setting

Default setting

Information is added to the lower part of Web pages displaying now.

    use Sledge::Plugin::BeforeOutput;
    use Sledge::Plugin::DebugLeakChecker;
    
    ...

Output to Firebug

It is necessary to install Firebug beforehand.

Information is output by console of the Firebug.

    use Sledge::Plugin::BeforeOutput;
    use Sledge::Plugin::DebugLeakChecker qw(Firebug);
    
    ...

DESCRIPTION

This module provides information that is leak situation of perl modules.

When you use mod_perl with Apache, I think it to be able to get particularly effective information.

SEE ALSO

Devel::Leak::Object Sledge::Plugin::BeforeOutput

Firebug Firefox Add-ons https://addons.mozilla.org/ja/firefox/addon/1843

Firebug Lite for IE, Opera and Safari http://getfirebug.com/lite.html

BUGS

Please report any bugs or suggestions at http://rt.cpan.org/NoAuth/Bugs.html?Dist=Sledge-Plugin-DebugLeakChecker

AUTHOR

syushi matsumoto, <matsumoto at alink.co.jp>

COPYRIGHT AND LICENSE

Copyright (C) 2009 Alink INC. all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.