blib/lib/POSIX/1003/User.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/POSIX/1003/Termios.pm ↑ Summary blib/lib/POSIX/SigSet.pm »
1 # Copyrights 2011-2020 by [Mark Overmeer].
2 # For other contributors see ChangeLog.
3 # See the manual pages for details on the licensing terms.
4 # Pod stripped from pm file by OODoc 2.02.
5 # This code is part of distribution POSIX-1003. Meta-POD processed with
6 # OODoc into POD and HTML manual-pages. See README.md
7 # Copyright Mark Overmeer. Licensed under the same terms as Perl itself.
8  
9 package POSIX::1003::User;
10 5 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 5 $VERSION = '1.02';
12  
13 5 ▶use base 'POSIX::1003::Module';
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 5 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 5 our @IN_CORE = qw/
19 getpwnam getpwuid getpwent
20 getgrnam getgrgid getgrent
21 getlogin
22 /;
23  
24 5 my @functions = qw/
25 getuid setuid
26 geteuid seteuid
27 setreuid
28 getresuid setresuid
29  
30 getgid setgid
31 getegid setegid
32 setregid
33 getresgid setresgid
34 getgroups setgroups
35 /;
36  
37 5 push @functions, @IN_CORE;
38  
39 5 my @constants;
40  
41 5 our %EXPORT_TAGS =
42 ( constants => \@constants
43 , functions => \@functions
44 , tables => [ '%user' ]
45 );
46  
47 5 my $user;
48 5 our %user;
49  
50 5 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
51 5 $user = user_table;
52 5 push @constants, keys %$user;
53 5 tie %user, 'POSIX::1003::ReadOnlyTable', $user;
54 }
55  
56  
57 #------------------
58  
59 #------------------
60  
61 #------------------
62  
63  
64 5 1;
« blib/lib/POSIX/1003/Termios.pm ↑ Summary blib/lib/POSIX/SigSet.pm »