
Parse::BACKPAN::Packages::Distribution - Represent a distribution on BACKPAN

my $p = Parse::BACKPAN::Packages->new();
my @acme_colours = $p->dists("Acme-Colour");
print " CPANID: " . $acme_colours[0]->cpanid . "\n";
print " Date: " . $acme_colours[0]->date . "\n";
print " Dist: " . $acme_colours[0]->dist . "\n";
print "Distvname: " . $acme_colours[0]->distvname . "\n";
print " Filename: " . $acme_colours[0]->filename . "\n";
print " Maturity: " . $acme_colours[0]->maturity . "\n";
print " Prefix: " . $acme_colours[0]->prefix . "\n";
print " Version: " . $acme_colours[0]->version . "\n";

Parse::BACKPAN::Packages::Distribution objects represent distributions on BACKPAN. They are turned from dists() ordered from oldest to newest.

The cpanid method returns the PAUSE ID of the author of the distribution.
print " CPANID: " . $acme_colours[0]->cpanid . "\n";
The date method returns the data of the release of the distribution, in UNIX epoch seconds:
print " Date: " . $acme_colours[0]->date . "\n";
The dist method returns the name of the distribution:
print " Dist: " . $acme_colours[0]->dist . "\n";
The distvname method returns the name of the distribution, hyphen, and the version:
print "Distvname: " . $acme_colours[0]->distvname . "\n";
The filename method returns the filename of the distribution:
print " Filename: " . $acme_colours[0]->filename . "\n";
The maturity method returns the maturity of the distribution:
print " Maturity: " . $acme_colours[0]->maturity . "\n";
The prefix method returns the prefix of the distribution:
print " Prefix: " . $acme_colours[0]->prefix . "\n";
The version method returns the version of the distribution:
print " Version: " . $acme_colours[0]->version . "\n";

Leon Brocard <acme@astray.com>

Copyright (C) 2005, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
