BackPAN::Index::Dist(3User Contributed Perl DocumentatiBackPAN::Index::Dist(3) NAME BackPAN::Index::Dist - Representing a distribution on BackPAN SYNOPSIS Use through BackPAN::Index. DESCRIPTION An object representing a distribution on BackPAN. A distribution is made up of releases. releases my $releases = $dist->releases; A ResultSet of this distribution's releases. name my $dist_name = $dist->name; Name of the distribution. authors my @authors = $dist->authors; Return the CPANIDs which made releases of this $dist, in no particular order. num_releases my $num_releases = $dist->num_releases; Returns the number of releases this distribution has. first_release latest_release my $release = $dist->first_release; Returns the first or latest release of this distribution as a BackPAN::Index::Release. first_date latest_date my $release = $dist->first_date; Returns the date of the first or latest release of this distribution. first_author latest_author my $cpanid = $dist->first_author; Returns the CPANID of the author of the first or latest release. as_hash my $data = $dist->as_hash; Returns a hash ref containing the data inside $dist. SEE ALSO BackPAN::Index perl v5.14.2 2012-01-14 BackPAN::Index::Dist(3)[top]
Vote for polarhome |