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   1779459 use 5.014;
  22         69  
4 22     22   107 use strict;
  22         136  
  22         473  
5 22     22   78 use warnings;
  22         36  
  22         2874  
6              
7             our $VERSION = '0.04';
8              
9             require XSLoader;
10             XSLoader::load('Switch::Declare', $VERSION);
11              
12 24     24   34796 sub import { $^H{'Switch::Declare'} = 1 }
13 1     1   30 sub unimport { delete $^H{'Switch::Declare'} }
14              
15             1;
16              
17             __END__