lib/Sub/Exporter/Simple.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ 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::Exporter::Simple;
5 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 $Sub::Exporter::Simple::VERSION = '1.103210';
7 }
8  
9 # ABSTRACT: just export some subs
10  
11 1 ▶use Sub::Exporter 'setup_exporter';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 ▶sub import {
Subroutine import: called CC=1 SCAR=0.0
14 1 my ( $self, @subs ) = @_;
15 1 return setup_exporter( { exports => [ @subs ], into_level => 1 } );
16 }
17  
18 1 1;
19  
20  
21 __END__
↑ Summary