CPAN::Index::File::MailRc - Interface to 01mailrc.txt.
01mailrc.txt
my $mailrc = CPAN::Index::File::MailRc->parse_from_repo_uri( 'http://cpan.perl.org' ); foreach my $author ($mailrc->sorted_authors) { ... # do something }
This is a class to read and write 01mailrc.txt.
List of hashrefs containing author data. The structure of the hashrefs is as follows:
CPAN id of the author. This should be a string containing only capital Latin letters and is at least 2 characters long.
Author's full name.
Author's email.
List of authors sorted by pause id.
Parses the file and returns its representation as a data structure.
Default file location - authors/01mailrc.txt.gz.
authors/01mailrc.txt.gz
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.