BackPA...::Dist(3pm)
β¨ BackPAN::Index::Dist π
okay bestie, so this is a Perl module β part of the User Contributed Perl Documentation β and it's literally called BackPAN::Index::Dist. The <pink>Dist</pink> is short for distribution, and she's here to represent one distribution on BackPAN. Iconic. π
πΈ NAME πΈ
BackPAN::Index::Dist β representing a distribution on BackPAN π
π¦ SYNOPSIS π¦
Use through BackPAN::Index.
# you don't use this one directly, bestie
# you go through BackPAN::Index
β¨ DESCRIPTION β¨
So like. An object representing a distribution on BackPAN. A distribution is made up of releases. That's the whole vibe. No cap. π
π releases
my $releases = $dist->releases;
A ResultSet of this distribution's releases. All of them. The whole squad. π
π name
my $dist_name = $dist->name;
Name of the distribution. Simple. Elegant. Main character energy. β¨
π authors
my @authors = $dist->authors;
Return the CPANIDs which made releases of this $dist, in no particular order. (no particular order, bestie β so don't come for me about the ordering π)
π num_releases
my $num_releases = $dist->num_releases;
Returns the number of releases this distribution has. A little count. A little census. π§
π first_release / latest_release
my $release = $dist->first_release;
Returns the first or latest release of this distribution as a BackPAN::Index::Release. Two methods, one bullet, one glow-up. π₯
π first_date / latest_date
my $release = $dist->first_date;
Returns the date of the first or latest release of this distribution. yes the variable is literally called $release in the original and I'm keeping it exactly like that, character for character, don't @ me π
π first_author / latest_author
my $cpanid = $dist->first_author;
Returns the CPANID of the author of the first or latest release. Who did it first, who did it last. The lore. π
π as_hash
my $data = $dist->as_hash;
Returns a hash ref containing the data inside $dist. Everything, in a hash ref. It's giving data dump but make it cute. π
π SEE ALSO π
BackPAN::Index
fr fr, that's the whole page. nothing skipped, nothing invented, every method accounted for. π
mwah π β this was BackPA...::Dist(3pm), served up by perl v5.42.0, dated 2025-07-25. periodt. π«Ά
π¦ where this page comes from
- fedora 43: perl-BackPAN-Index 0.42-35.fc43 Β· GPL-1.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