BackPA...::Dist(3pm)

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

✨ 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