CPAN::Index::API::File::ModList - Interface to 03modlist.data
version 0.006
my $modlist = CPAN::Index::File::ModList->parse_from_repo_uri( 'http://cpan.perl.org' ); foreach my $module ($modlist->modules) { ... # do something }
This is a class to read and write 03modlist.data
List of hashrefs containing module data. Each hashref has the following structure.
Module name, e.g. Foo::Bar.
Foo::Bar
Short description of the module.
CPAN id of the module author.
Number of the chapter under which the module is classified. Valid options are:
Single character indicating the development stage of the module. Valid options are:
Single character indicating the type of support provided for the module. Valid options are:
Single character indicating the programming languages used in the module. Valid options are:
Single character indicating the interface of the module. Valid options are:
Single character indicating the licence under which the module is distributed. Valid options are:
Number of modules indexed in the file.
Name of this file - defaults to '03modlist.data.gz;
'03modlist.data.gz
Short description of the file.
Parses the file and reurns its representation as a data structure.
Default file location - modules/03modlist.data.gz.
modules/03modlist.data.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.