File Coverage

blib/lib/PMIR.pm
Criterion Covered Total %
statement 14 14 100.0
branch 1 2 50.0
condition n/a
subroutine 6 6 100.0
pod n/a
total 21 22 95.4


line stmt bran cond sub pod time code
1             package PMIR;
2 1     1   21900 use 5.006001;
  1         3  
  1         34  
3 1     1   6 use strict;
  1         1  
  1         33  
4 1     1   5 use warnings;
  1         5  
  1         57  
5             $PMIR::VERSION = '0.01';
6              
7             my $base;
8             BEGIN {
9 1 50   1   55 $base = $ENV{PMIR_BASE}
10             or die "PMIR_BASE environment variable not set";
11             }
12              
13 1     1   1687 sub import {
14 1     1   840 use lib "$base/perl5/lib";
  1         721  
  1         7  
15             }
16              
17             1;
18              
19             =head1 NAME
20              
21             PMIR - Personally Man, I'd Relax
22              
23             =head1 SYNOPSIS
24              
25             use PMIR;
26              
27             =head1 DESCRIPTION
28              
29             PMIR is the new CPAN. Stay tuned...
30              
31             =head1 AUTHOR
32              
33             Ingy döt Net
34              
35             =head1 COPYRIGHT
36              
37             Copyright (c) 2007. Ingy döt Net. All rights reserved.
38              
39             This program is free software; you can redistribute it and/or modify it
40             under the same terms as Perl itself.
41              
42             See http://www.perl.com/perl/misc/Artistic.html
43              
44             =cut