Devel::Dependencies - Perl extension for examining dependencies on modules
perl -MDevel::Dependencies <perl_file> perl -MDevel::Dependencies=<opts> <perl_file>
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.
Display the path to the file the module was loaded from.
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.
Display how much time was spend loading modules (i.e. between its
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.
http://neilb.org/reviews/dependencies.html - a review of CPAN modules for getting dependency information.
Jean-Louis Leroy, Europerl, <firstname.lastname@example.org>
Now maintained by Neil Bowers <email@example.com>
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.