|
NAMEModule::CheckDeps - Very simple dependencies checker for Perl code VERSIONversion 0.08 SYNOPSIS use Module::CheckDeps qw(alldeps checkdeps);
my $all = alldeps( $code );
my $missing = checkdeps( $code );
DESCRIPTIONModule::CheckDeps parses Perl code searching for used modules. It can either return a list of all the modules used by some code, or a list of the used modules that are not available in the host system (e.g. not installed modules). Compared to similar modules, such as Module::ScanDeps, Module::CheckDeps is simpler and less powerful, but also much faster. EXPORT"checkdeps" and "alldeps" will be exported if explicitly specified. SUBROUTINESalldeps( $code )Return an array reference containing all the used packages checkdeps( $code )Return an array reference containing packages that need to be installed AUTHORAlessandro Ghedini <alexbio@cpan.org> SEE ALSOModule::ScanDeps LICENSE AND COPYRIGHTCopyright 2010 Alessandro Ghedini. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.
|