Neil Bowers > Devel-Dependencies > Devel::Dependencies

Download:
Devel-Dependencies-1.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Devel::Dependencies - Perl extension for examining dependencies on modules

SYNOPSIS ^

  perl -MDevel::Dependencies <perl_file>
  perl -MDevel::Dependencies=<opts> <perl_file>

DESCRIPTION ^

This module lists all the modules loaded by a program or a module at compilation time.

More accurately, Devel::Dependencies uses a BEGIN and a CHECK block to find the changes in %INC.

Devel::Dependencies accepts any combination of the following options. For more information on passing options from the command line, see perlrun.

origin

Display the path to the file the module was loaded from.

distance

Display the distance of each module, i.e. the posotion of the path in @INC from which the module was loaded. Also display the sum of the distances of all the modules.

time

Display how much time was spend loading modules (i.e. between its BEGIN and CHECK blocks were executed). To do that it may need to load Time::HiRes if your program hasn't loaded it already, and the time it takes will add up to the total time; in that case it will warn about it.

SEE ALSO ^

http://neilb.org/reviews/dependencies.html - a review of CPAN modules for getting dependency information.

perlrun, perlvar.

REPOSITORY ^

https://github.com/neilbowers/Devel-Dependencies

AUTHOR ^

Jean-Louis Leroy, Europerl, <jll@europerl.be>

Now maintained by Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 by Jean-Louis Leroy and Sound Object Logic

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: