| BackPAN-Index documentation | view source | Contained in the BackPAN-Index distribution. |
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 $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 $data = $dist->as_hash;
Returns a hash ref containing the data inside $dist.
| BackPAN-Index documentation | view source | Contained in the BackPAN-Index distribution. |