Test::PAUSE::Permissions - tests module permissions in your distribution
# in your xt/perms.t use Test::PAUSE::Permissions; all_permissions_ok();
This module is to test if modules in your distribution have proper permissions or not. You need to set RELEASE_TESTING to test this.
You might also want to prepare .pause file (you should have one to release distributions anyway) to declare the default authority of your distributions.
This module exports only one function (yet):
Looks for packages with Parse::LocalDistribution, and tests if you (or the registered author) have proper permissions for them.
By default, all_permissions_ok looks into META files for x_authority or user in .pause file, and also each .pm file for $AUTHORITY variable.
all_permissions_ok
x_authority
user
.pause
$AUTHORITY
You can also pass an authority as an argument.
use Test::PAUSE::Permissions; # assumes ISHIGAKI has permissions all_permissions_ok('ISHIGAKI');
Kenichi Ishigaki, <ishigaki@cpan.org>
Copyright (C) 2014 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Test::PAUSE::Permissions, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::PAUSE::Permissions
CPAN shell
perl -MCPAN -e shell install Test::PAUSE::Permissions
For more information on module installation, please visit the detailed CPAN module installation guide.