CPAN::FindDependencies::MakeMaker - retrieve dependencies specified in Makefile.PL's
Dependencies are also specified in Makefile.PL files used with the ExtUtils::MakeMaker module.
Expects the contents of a Makefile.PL as a string.
Returns a hash reference of the form:
{ Module::Name => 0.1, ... Last::Module => 9.0, }
This module assumes that its input is trustworthy and can be safely executed. The only protection in place is that a vague attempt is made to catch a Makefile.PL that just sits there doing nothing - either if it's in a loop, or sitting at a prompt. But even that can be defeated by an especially naughty person.
Makefile.PLs that have external dependencies/calls that can fatally die will not be able to be successfully parsed and then scanned for dependencies, e.g. libwww-perl.5808.
git://github.com/DrHyde/perl-modules-CPAN-FindDependencies.git
CPAN::FindDepdendencies
CPAN
http://deps.cpantesters.org
Copyright 2009 David Cantrell <david@cantrell.org.uk> based largely on code by Ian Tegebo (see http://rt.cpan.org/Public/Bug/Display.html?id=34814)
This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
This module is also free-as-in-mason software.
To install CPAN::FindDependencies, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::FindDependencies
CPAN shell
perl -MCPAN -e shell install CPAN::FindDependencies
For more information on module installation, please visit the detailed CPAN module installation guide.