blib/lib/PMIR.pm

filter: Statementstmt 100% 15 / 15 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 95.4% 21 / 22 CC 2 SCAR 3.2
CC
2
Cov
94%
BEGIN
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
↑ Summary
1 package PMIR;
2 1 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 $PMIR::VERSION = '0.01';
6  
7 1 my $base;
8 1 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=7.6
9 $base = $ENV{PMIR_BASE}
10 1 ▶ or die "PMIR_BASE environment variable not set";
Branch: 1 branch
BranchTrueFalseTotal
$base = $ENV{"PMIR_BASE"} or die "PMIR_BASE environment variable not set" 1 0 1
11 }
12  
13 sub import {
14 1 ▶ use lib "$base/perl5/lib";
Subroutine BEGIN: called CC=1 SCAR=0.0
15 }
16  
17 1 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
↑ Summary