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
38       Copyright (c) 1999 Tom Christiansen
39
40       This is free software.  You may modify it and distribute it under the
41       Perl's Artistic Licence.  Modified versions must be clearly indicated.
42
43
44
45perl v5.8.8                       2005-09-05                  Devel::Loaded(3)
Impressum