- SEE ALSO
BackPAN::Index::Dist - Representing a distribution on BackPAN
Use through BackPAN::Index.
An object representing a distribution on BackPAN. A distribution is made up of releases.
my $releases = $dist->releases;
A ResultSet of this distribution's releases.
my $dist_name = $dist->name;
Name of the distribution.
my @authors = $dist->authors;
Return the CPANIDs which made releases of this $dist, in no particular order.
my $num_releases = $dist->num_releases;
Returns the number of releases this distribution has.
my $release = $dist->first_release;
Returns the first or latest release of this distribution as a BackPAN::Index::Release.
my $release = $dist->first_date;
Returns the date of the first or latest release of this distribution.
my $cpanid = $dist->first_author;
Returns the CPANID of the author of the first or latest release.
my $data = $dist->as_hash;
Returns a hash ref containing the data inside