CPAN::F...endency(3)

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

πŸ¦‹ 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/>

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 perl v5.42.0, dated 2025-07-25, filed under CPAN::F...endency(3). stay dependent, stay iconic, mwah πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from