
CPAN::Index::API::File::PackagesDetails - Interface to 02packages.details.txt

version 0.007

my $pckdetails = CPAN::Index::File::PackagesDetails->parse_from_repo_uri(
'http://cpan.perl.org'
);
foreach my $package ($pckdetails->packages) {
... # do something
}

This is a class to read and write 03modlist.data

List of hashrefs representing packages indexed in the file. Each hashref has the following structure:
Package name, e.g. Foo::Bar.
Package version, e.g. 0.001.
Distribution the package belongs to, e.g. Foo-Bar-0.001.
Number of packages indexed in the file.
Name of this file - defaults to 02packages.details.txt.gz;
Short description of the file.
Target consumers of the file.
Absolute URI pointing to the file location.
Parses the file and reurns its representation as a data structure.
Default file location - modules/02packages.details.txt.gz.


Peter Shangov <pshangov@yahoo.com>

This software is copyright (c) 2012 by Venda, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.