NAME
Module::CheckDeps - Very simple dependencies checker for Perl code
VERSION
version 0.08
SYNOPSIS
use Module::CheckDeps qw(alldeps checkdeps);
my $all = alldeps( $code );
my $missing = checkdeps( $code );
DESCRIPTION
Module::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.
SUBROUTINES
alldeps( $code )
Return an array reference containing all the used packages
checkdeps( $code )
Return an array reference containing packages that need to be installed
AUTHOR
Alessandro Ghedini <alexbio@cpan.org>
SEE ALSO
LICENSE AND COPYRIGHT
Copyright 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.