File Coverage

blib/lib/Unix/Getrusage.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Unix::Getrusage;
2              
3 1     1   125315 use 5.008006;
  1         4  
  1         36  
4 1     1   6 use strict;
  1         2  
  1         38  
5 1     1   4 use warnings;
  1         9  
  1         40  
6              
7             require Exporter;
8 1     1   72069 use AutoLoader qw(AUTOLOAD);
  1         2782  
  1         6  
9              
10             our @ISA = qw(Exporter);
11              
12             # Items to export into callers namespace by default. Note: do not export
13             # names by default without a very good reason. Use EXPORT_OK instead.
14             # Do not simply export all your public functions/methods/constants.
15              
16             # This allows declaration use Unix::Getrusage ':all';
17             # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
18             # will save memory.
19             our %EXPORT_TAGS = ( 'all' => [ qw(getrusage getrusage_children) ] );
20              
21             our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
22              
23             our @EXPORT = qw(getrusage getrusage_children);
24              
25             our $VERSION = '0.03';
26              
27             require XSLoader;
28             XSLoader::load('Unix::Getrusage', $VERSION);
29              
30             # Preloaded methods go here.
31              
32             # Autoload methods go after =cut, and are processed by the autosplit program.
33              
34             1;
35             __END__