blib/lib/perl5i/2/CODE.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
__set_signature
2.0
signature
2.0
BEGIN
2.0
CRAP 2.0
1 package perl5i::2::CODE;
2 use 5.010;
3  
4 use strict;
5 use warnings;
6  
7 # Can't use signatures here, Signatures needs CODE.
8  
9 use Hash::FieldHash qw(fieldhashes);
10 fieldhashes \my(%Signatures);
11  
12 sub __set_signature {
13 $Signatures{$_[0]} = $_[1];
14 }
15  
16 sub signature {
17 return $Signatures{$_[0]};
18 }
19  
20 1;