Name : perl-PAUSE-Permissions
| |
Version : 0.17
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.45
| Date : 2024-08-05 20:09:33
|
Group : Development/Libraries/Perl
| Source RPM : perl-PAUSE-Permissions-0.17-1.45.src.rpm
|
Size : 0.06 MB
| |
Packager : (none)
| |
Summary : interface to PAUSE\'s module permissions file (06perms.txt)
|
Description :
PAUSE::Permissions provides an interface to the \'06perms.txt\' file produced by the Perl Authors Upload Server (PAUSE). The file records who has what permissions for every module on CPAN. The format and interpretation of this file are covered in \"The 06perms.txt file\" below.
By default, the module will mirror \'06perms.txt\' from CPAN, using HTTP::Tiny to request it and store it locally What gets cached locally is actually a transformed version of 06perms.txt for easier processing.
By default it will get the file from http://www.cpan.org, but you can pass an alternate URI to the constructor:
$perms_uri = \"http://$CPAN_MIRROR/modules/06perms.txt\"; $pp = PAUSE::Permissions->new(uri => $perms_uri);
If you\'ve already got a copy lying around, you can tell the module to use that:
$pp = PAUSE::Permissions->new( path => \'/tmp/my06perms.txt\' );
Note that the file you provide this way must be in the post-processed format, and not a raw copy of \'06perms.txt\'.
Having created an instance of \'PAUSE::Permissions\', you can then call the \'module_permissions\' method to get the permissions for a particular module. The SYNOPSIS gives the basic usage.
*Note*: you should make sure you\'re using version 0.08 or later. PAUSE now treats package names case insensitively with respect to permissions, so this module does now as well.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch |