Adam Kennedy > Devel-Leak-Module-0.02 > Devel::Leak::Module

Download:
Devel-Leak-Module-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Devel::Leak::Module - Track loaded modules and namespaces

SYNOPSIS ^

  # 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();

DESCRIPTION ^

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.

FUNCTIONS ^

SUPPORT ^

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.

AUTHORS ^

Adam Kennedy <adamk@cpan.org>

SEE ALSO ^

Devel::Leak, Devel::Leak::Object

COPYRIGHT ^

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.

syntax highlighting: