BackPAN-Index
view release on metacpan or search on metacpan
- update the tests
0.32 Tue Jan 31 10:05:49 GMT 2006
- update tests to show that I've passed Net::DAV::Server onto someone else
0.31 Tue Jul 5 00:48:46 BST 2005
- we now cache the data for an hour using App::Cache
0.30 Thu Jun 9 16:27:36 BST 2005
- added distributions_by method, which returns a list of distribution
names representing all the distributions that an author has uploaded
- added authors method
- fix a bug where distributions was returning subdistributions too
0.29 Mon Apr 11 19:32:22 BST 2005
- first release
lib/BackPAN/Index/File.pm view on Meta::CPAN
BackPAN::Index::File objects represent files on BackPAN. It may
represent a release, a readme or meta file or just some random stuff
on BackPAN.
=head1 METHODS
=head2 date
my $date = $file->date;
Returns the upload date of the file, in UNIX epoch seconds.
=head2 path
my $path = $file->path;
Returns the full path to the file on CPAN.
=head2 size
my $size = $file->size;
lib/Parse/BACKPAN/Packages.pm view on Meta::CPAN
The releases method returns a list of objects representing all
the different releases of a distribution:
# see Parse::BACKPAN::Packages::Release
my @acme_colours = $p->releases("Acme-Colour");
=head2 distributions_by
The distributions_by method returns a list of distribution names
representing all the distributions that an author has uploaded:
my @acmes = $p->distributions_by('LBROCARD');
=head2 file
The file method finds metadata relating to a file:
# see Parse::BACKPAN::Packages::File
my $file = $p->file("authors/id/L/LB/LBROCARD/Acme-Colour-0.16.tar.gz");
print "That's " . $file->size . " bytes\n";
( run in 2.741 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )