CPAN::Index::API::Role::Reader - Role for reading index files
version 0.004
This role provides a collection of utility constructors for CPAN index file objects.
Class method that returns a string specifying the path to the default location of this file relative to the repository root.
This class method (generally invoked as part of the construction phase) should accept a string containing an index file, and return a list of key/value pairs suitable for passing to the constructor of the consuming class.
Construct a new index file object by reading the file contents from a string.
Construct a new index file object by reading the file contents from a filename.
Construct a new index file object by reading the file contents from a tarball.
Construct a new index file object by locating and parsing a file in a local repository.
Construct a new index file object by locating and parsing a file in a remote repository.
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.