Parse::CPAN::Perms - Parse 06perms.txt.gz
# Construction my $perms = Parse::CPAN::Perms->new('path/to/06perms.txt.gz'); # Get all perms data as hash ref my $perms_data = $perms->perms; # Boolean convenience method $perms->is_authorized(AUTHOR => 'Package::Name');
!! THIS MODULE IS EXPERIMENTAL. INTERFACE IS SUBJECT TO CHANGE !!
This module parses the 06perms.txt.gz file from a CPAN-like repository. At this time, it only parses the compressed form and it provides no mechanism for adding new permissions or writing the data back out to a file. If you desire those features, please contact the author.
Constructs a new instance of Parse::CPAN::Perms from the specified perms file. The file must exist and must be readable.
Returns all the permission data as a hash reference
Returns true if the author has permission for the package
Causes the permisions hash to be cleared if the
permsfile has changed since the last time it was read. The permissions hash will be lazily re-read from disk the next time it is needed. If
$force is true, then the permissions hash is cleared unconditionally.
CPAN::Repository::Perms serves a similar purpose, but is a much more robust module. However, it is bundled with several other CPAN-related modules which may or may not fit your needs and desires.
You can find documentation for this module with the perldoc command.
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.
A modern, open-source CPAN search engine, useful to view POD in HTML format.
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions.
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
You can get live help by using IRC ( Internet Relay Chat ). If you don't know what IRC is, please read this excellent guide: http://en.wikipedia.org/wiki/Internet_Relay_Chat. Please be courteous and patient when talking to us, as we might be busy or sleeping! You can join those networks/channels and get help:
You can connect to the server at 'irc.perl.org' and join this channel: #pinto then talk to this person for help: thaljef.
The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)
Jeffrey Ryan Thalhammer <email@example.com>
This software is copyright (c) 2013 by Jeffrey Ryan Thalhammer.