debian man page for devel::loaded

Query: devel::loaded

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Devel::Loaded(3pm)					User Contributed Perl Documentation					Devel::Loaded(3pm)

NAME
Loaded - Post-execution dump of loaded modules
SYNOPSIS
perl -MDevel::Loaded -Sc programname 2>/dev/null
DESCRIPTION
The Devel::Loaded module installs an at-exit handler to generate a dump of all the module files used by a Perl program. If used in conjunction with a perl -c, you find those files loaded in at compile time with "use". If you are willing to wait until after the program runs, you can get them all.
EXAMPLES
This is compile-time only: $ perl -MDevel::Loaded -S -c perldoc 2>/dev/null /usr/local/devperl/lib/5.00554/Exporter.pm /usr/local/devperl/lib/5.00554/strict.pm /usr/local/devperl/lib/5.00554/vars.pm /usr/local/devperl/lib/5.00554/i686-linux/Config.pm /usr/local/devperl/lib/5.00554/Getopt/Std.pm This will also catch run-time loads: #!/usr/bin/perl use Devel::Loaded; ...
SEE ALSO
The plxload and the pmload programs, which use this technique. AUTHORS and COPYRIGHTS Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2008 Mark Leighton Fisher. This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.) Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". perl v5.10.1 2010-02-22 Devel::Loaded(3pm)
Related Man Pages
pfcat(1p) - debian
plxload(1p) - debian
pmdirs(1p) - debian
pmvers(1p) - debian
devel::loaded(3pm) - debian
Similar Topics in the Unix Linux Community
about perl
Loaded question - anyone up to the challenge?
Object File Error
Perl parsing compared to Ksh parsing
New and Confused