1Devel::Loaded(3)      User Contributed Perl Documentation     Devel::Loaded(3)
2
3
4

NAME

6       Loaded - Post-execution dump of loaded modules
7

SYNOPSIS

9           perl -MDevel::Loaded -Sc programname 2>/dev/null
10

DESCRIPTION

12       The Devel::Loaded module installs an at-exit handler to generate a dump
13       of all the module files used by a Perl program.  If used in conjunction
14       with a perl -c, you find those files loaded in at compile time with
15       "use".  If you are willing to wait until after the program runs, you
16       can get them all.
17

EXAMPLES

19       This is compile-time only:
20
21           $ perl -MDevel::Loaded -S -c perldoc 2>/dev/null
22           /usr/local/devperl/lib/5.00554/Exporter.pm
23           /usr/local/devperl/lib/5.00554/strict.pm
24           /usr/local/devperl/lib/5.00554/vars.pm
25           /usr/local/devperl/lib/5.00554/i686-linux/Config.pm
26           /usr/local/devperl/lib/5.00554/Getopt/Std.pm
27
28       This will also catch run-time loads:
29
30           #!/usr/bin/perl
31           use Devel::Loaded;
32           ...
33

SEE ALSO

35       The plxload and the pmload programs, which use this technique.
36

AUTHORS and COPYRIGHTS

38       Copyright (C) 1999 Tom Christiansen.
39
40       Copyright (C) 2006-2008 Mark Leighton Fisher.
41
42       This is free software; you can redistribute it and/or modify it under
43       the terms of either: (a) the GNU General Public License as published by
44       the Free Software Foundation; either version 1, or (at your option) any
45       later version, or (b) the Perl "Artistic License".  (This is the Perl 5
46       licensing scheme.)
47
48       Please note this is a change from the original pmtools-1.00 (still
49       available on CPAN), as pmtools-1.00 were licensed only under the Perl
50       "Artistic License".
51
52
53
54perl v5.12.0                      2008-02-29                  Devel::Loaded(3)
Impressum