blib/lib/Sub/Prototype.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Prototype.xs ↑ Summary
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Sub::Prototype; # git description: 0.02-3-gb5d237a
5 # ABSTRACT: Set a sub's prototype
6  
7 1 require 5.008001;
8  
9 1 ▶use XSLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 our $VERSION = '0.03';
12  
13 1 XSLoader::load(__PACKAGE__, $VERSION);
14  
15 1 ▶use Sub::Exporter -setup => {
Subroutine BEGIN: called CC=1 SCAR=0.0
16 exports => ['set_prototype'],
17 groups => { default => ['set_prototype'] },
18 1 };
19  
20 1 1;
21  
22 __END__
« Prototype.xs ↑ Summary