File Coverage

blib/lib/PAUSE/Permissions/Entry.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package PAUSE::Permissions::Entry;
2             $PAUSE::Permissions::Entry::VERSION = '0.16';
3 6     6   24 use Moo;
  6         5  
  6         22  
4              
5             has 'module' => (is => 'ro');
6             has 'user' => (is => 'ro');
7             has 'permission' => (is => 'ro');
8              
9             1;
10              
11             =head1 NAME
12              
13             PAUSE::Permissions::Entry - represents one line from 06perms.txt
14              
15             =head1 SYNOPSIS
16              
17             use PAUSE::Permissions::Entry;
18            
19             my $mp = PAUSE::Permissions::Entry->new(
20             module => 'Module::Path',
21             user => 'NEILB',
22             module => 'f',
23             );
24            
25             =head1 DESCRIPTION
26              
27             PAUSE::Permissions::Entry is a data class that holds the information
28             from one line in 06perms.txt.
29             Generally you won't instantiate this class directly, but will get
30             back instances of it when you request an C
31             from L.
32              
33             =head1 SEE ALSO
34              
35             L
36              
37             =head1 AUTHOR
38              
39             Neil Bowers Eneilb@cpan.orgE
40              
41             =head1 COPYRIGHT AND LICENSE
42              
43             This software is copyright (c) 2013 by Neil Bowers .
44              
45             This is free software; you can redistribute it and/or modify it under
46             the same terms as the Perl 5 programming language system itself.
47              
48             =cut
49