CPAN::F...akeMaker(3)

πŸ“¦
version 3.13 Β· 2 versions
, in fedora 43

πŸ’– 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 ⭐


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