Parse::...ribution(3)
π NAME π
Parse::CPAN::Packages::Distribution β that's the module, bestie. The page header vibes are Parse::...ribution(3), and it's part of the User Contributed Perl Documentation. Short NAME section, lowkey iconic.
β¨ DESCRIPTION β¨
Okay so Parse::CPAN::Packages::Distribution literally represents a CPAN distribution. No cap.
Important caveat, bestie: the functionslist_filesandget_file_from_tarballwork only if a mirror directory was supplied for parsing, or the package file was situated inside acpanmirror structure. That's the whole vibe check β if neither thing happened, those two functions are not gonna work. π
π METHODS π
These are the methods, bestie β the little functions this distribution page gives you. Let's go. π«Ά
π contains
contains returns the packages in the distribution. That's it. Iconic, brief, slay.
π¦ add_package
add_package adds a package to the distribution. Periodt. π
πΈ list_files
list_files tries to list all files in the distribution. Note the "tries" energy β and remember the mirror-directory caveat from DESCRIPTION, because that's the vibe check for this one too. β¨
π§ get_file_from_tarball( $filename )
get_file_from_tarball( $filename ) tries to retrieve the contents of a file from the distribution. Same "tries" energy, same mirror caveat from DESCRIPTION. Don't forget it, bestie. π
Okay that's the whole page! Cute sign-off: this is Parse::...ribution(3) from perl v5.42.0, dated 2015-04-14. Bye bestie, go be the main character of CPAN parsing π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Parse-CPAN-Packages 2.40-bp160.1.11 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms