CPAN::Index::API::File::Whois - Interface to 00whois.xml
version 0.007
my $mailrc = CPAN::Index::File::Whois->parse_from_repo_uri( 'http://cpan.perl.org' ); foreach my $author ($mailrc->authors) { ... # do something }
This is a class to read and write 01mailrc.txt
List of hashres containing author data. The structure of the hashrefs is as follows:
CPAN id of the author, required.
Author's full name. Can be an empty string.
Author's full name, but conatining only ASCII characters.
Author's email.
Boolean - true if the author has a cpan directory.
Author's homepage.
Additional information about the author.
Author type, usually author.
author
Number of authors in this file.
Method that fetches the entry for a given cpanid.
Parses the file and reurns its representation as a data structure.
Default file location - authors/00whois.xml.
authors/00whois.xml
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.