File Coverage

blib/lib/Switch/Declare.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Switch::Declare;
2              
3 22     22   2070713 use 5.014;
  22         75  
4 22     22   101 use strict;
  22         120  
  22         500  
5 22     22   96 use warnings;
  22         53  
  22         3096  
6              
7             our $VERSION = '0.05';
8              
9             require XSLoader;
10             XSLoader::load('Switch::Declare', $VERSION);
11              
12 24     24   38181 sub import { $^H{'Switch::Declare'} = 1 }
13 1     1   32 sub unimport { delete $^H{'Switch::Declare'} }
14              
15             1;
16              
17             __END__