CPAN::Index::API::File::PackagesDetails - Write 02packages.details
version 0.003
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.
Foo::Bar
Package version, e.g. 0.001.
0.001
Distribution the package belongs to, e.g. Foo-Bar-0.001.
Foo-Bar-0.001
Number of packages indexed in the file.
Name of this file - defaults to 02packages.details.txt.gz;
02packages.details.txt.gz
Short description of the file.
Name and version of software that wrote the file.
Target consumers of the file.
Date and time when the file was last updated.
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.
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.
To install CPAN::Index::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Index::API
CPAN shell
perl -MCPAN -e shell install CPAN::Index::API
For more information on module installation, please visit the detailed CPAN module installation guide.