CPAN::F...endency(3)
π¦ CPAN::F...endency(3) β bestie edition π¦
okay so this is a page from the User Contributed Perl Documentation and it's all about CPAN::FindDependencies::Dependency, which is giving very much "supporting character with main character energy" π
β¨ NAME β¨
CPAN::FindDependencies::Dependency β the object that literally is a module dependency. one little guy. one little dependency guy. that's the whole job π«Ά
πΈ SYNOPSIS πΈ
no cap, this is the entire vibe:
my @dependencies = CPAN::FindDependencies::finddeps("CPAN");
foreach my $dep (@dependencies) {
print ' ' x $dep->depth();
print $dep->name().' (dist: '.$dep->distribution().', mod ver: '.$dep->version().")\n";
}
like. you get a list of deps, you loop, you indent by depth(), you print the name(), the distribution(), and the version(). cute, clean, slays π
π METHODS π
here's the thing bestie: these are all read-only accessors. that's it. that's the menu.
and yes, before you ask β there is no public constructor and no mutators. none. zero. don't even try it. the objects get created for you by the CPAN::FindDependencies module, and you just... admire them. it's giving "look but don't touch" and honestly? iconic π
name
the name of the module. that's it. that's the tweet β¨
distribution
the name of the distribution that contains the module π
version
the minimum required version of the module β if specified. so like, sometimes it's there, sometimes it's not. no pressure π
depth
how deeply nested this module is in the dependency tree π³ it's giving "how many layers of friend-of-a-friend is this"
warning
if any warnings got generated while processing the module β even if they were suppressed β this hands them right back to you. sneaky? no, just thorough π
π BUGS/LIMITATIONS π
none known π
(which is either a flex or a dare and honestly we love both)
π FEEDBACK π
the author welcomes feedback about the code β constructive criticism, bug reports, all of it. he says so directly.
and here's the tea on the best bug reports: they include files that can be added to the test suite, which fail with the current code in the git repo and will pass once the bug is fixed. like, yes, give him a failing test. that's the love language. periodt π«Ά
π₯ SOURCE CODE REPOSITORY π₯
git://github.com/DrHyde/perl-modules-CPAN-FindDependencies.git
go forth and clone, bestie π§
π SEE ALSO π
CPAN::FindDepdendenciesβ (yes, spelled exactly like that, no we are not fixing it, that's the bit π)CPAN- <http://deps.cpantesters.org/>
π AUTHOR, LICENCE and COPYRIGHT π
Copyright 2007 David Cantrell <david@cantrell.org.uk>
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 β your choice, your moment, main character decision-making π
the full text of the licences lives in the files GPL2.txt and ARTISTIC.txt, respectively π
πΈ CONSPIRACY πΈ
this module is also free-as-in-mason software π§±β¨
and that's the whole page, fr fr. written by perlv5.42.0, dated2025-07-25, filed underCPAN::F...endency(3). stay dependent, stay iconic, mwah πππ¦
π¦ 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