NAME

CPAN::FindDependencies::MakeMaker - retrieve dependencies specified in Makefile.PL's

SYNOPSIS

Dependencies are also specified in Makefile.PL files used with the ExtUtils::MakeMaker module.

FUNCTIONS

getreqs_from_mm

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,
}

SECURITY

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.

BUGS/LIMITATIONS

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.

SOURCE CODE REPOSITORY

http://www.cantrell.org.uk/cgit/cgit.cgi/perlmodules/

SEE ALSO

CPAN::FindDepdendencies

CPAN

http://deps.cpantesters.org

AUTHOR, LICENCE and COPYRIGHT

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.

CONSPIRACY

This module is also free-as-in-mason software.