Devel::Module::Trace - Trace module origins
This module traces use/require statements to print the origins of loaded modules
# load module use Devel::Module::Trace; # load other modules use Some::Other::Modules; require Even::More::Modules; # output results Devel::Module::Trace::print_pretty(); # using directly perl -d:Module::Trace=print -M<Module> -e exit
raw_result()
returns an array with the raw result list.
save(<filename>)
save results to given file
print_pretty()
prints the results as ascii table to STDERR.
* add waterfall charts output
Git: http://github.com/sni/perl-devel-module-trace
L<Devel::OverrideGlobalRequire>
Sven Nierlein, <nierlein at cpan.org>
<nierlein at cpan.org>
Copyright 2015 Sven Nierlein.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Devel::Module::Trace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Module::Trace
CPAN shell
perl -MCPAN -e shell install Devel::Module::Trace
For more information on module installation, please visit the detailed CPAN module installation guide.