The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Test::PAUSE::Permissions - tests module permissions in your distribution

SYNOPSIS

    # in your xt/perms.t

    use Test::PAUSE::Permissions;
    
    all_permissions_ok();

DESCRIPTION

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.

FUNCTION

This module exports only one function (yet):

all_permissions_ok

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.

You can also pass an authority as an argument.

    use Test::PAUSE::Permissions;
    
    # assumes ISHIGAKI has permissions
    all_permissions_ok('ISHIGAKI');

AUTHOR

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

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.