CPAN::F...akeMaker(3)
π NAME π
CPAN::FindDependencies::MakeMaker β bestie, this one's whole job is retrieving dependencies specified in Makefile.PL's. That's it, that's the mission π
β¨ SYNOPSIS β¨
okay so here's the tea π β dependencies don't only live in one place. They're also specified in Makefile.PL files used with the ExtUtils::MakeMaker module. That's the whole vibe.
π«Ά FUNCTIONS π«Ά
getreqs_from_mm
This one's the main character π. It expects the contents of a Makefile.PL as a string β like, hand it the text, not a filename, okay?
And it returns a hash reference of the form:
{
Module::Name => 0.1,
...
Last::Module => 9.0,
}
So you get back a hashref, module names on the left, version numbers on the right. Slay π
π₯ SECURITY π₯
bestie. sit down. we need to talk π
This module assumes that its input is trustworthy and can be safely executed. Like, it just... runs it. That's the whole energy.
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. And honestly? Even that can be defeated by an especially naughty person. So don't be handing it random untrusted code, fr fr π
π 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. Example? libwww-perl.5808. She dies, she can't be scanned. That's just how it is π§
π SOURCE CODE REPOSITORY π
<git://github.com/DrHyde/perl-modules-CPAN-FindDependencies.git>
β SEE ALSO β
CPAN::FindDepdendencies(yes, that spelling, exactly like that, no cap)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. π§±β¨ (iykyk)
and that's the whole page, bestie!! π this was perl v5.42.0, dated 2025-07-25, and the manual you just read is CPAN::F...akeMaker(3) β mwah, take care of her ππ
π¦ where this page comes from
- fedora 43: perl-CPAN-FindDependencies 3.13-12.fc43 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms