Devel::Leak::Module - Track loaded modules and namespaces
# 1. Load all modules we believe are needed require My::Everything; # 2. Set a checkpoint for all loaded modules/packages/namespaces Devel::Leak::Module::checkpoint(); # 3. Run code that should not result in loading any new code My::foo(); # 4. Confirm that no new code was loaded during Devel::Leak::Module::print_new();
Devel::Leak::Module is a simple little convenience module for tracking module, package and namespace creation.
The synopsis code above describes pretty much the main way that it works.
Bugs should be always be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Devel-Leak-Module
For other issues, or commercial enhancement or support, contact the author.
Adam Kennedy <adamk@cpan.org>
Devel::Leak, Devel::Leak::Object
Copyright 2007 - 2012 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Devel::Leak::Module, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Leak::Module
CPAN shell
perl -MCPAN -e shell install Devel::Leak::Module
For more information on module installation, please visit the detailed CPAN module installation guide.