lib/perl5i/cmd.pm

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 SCAR 6.9
CC
1
Cov
0%
import
2.0
CRAP 2.0
« blib/lib/perl5i/cmd.pm ↑ Summary blib/lib/perl5i/2/Meta/Class.pm »
1 package perl5i::cmd;
2  
3 # This is a shim for the perl5i command line utility to use.
4  
5 use strict;
6 use parent 'perl5i::latest';
7  
8 sub import {
9 0 ▶ my $class = $_[0];
Subroutine import: not called CC=1 SCAR=6.9
10  
11 # Remove the name from the import list before passing it along to perl5i.
12 0 my $name = splice(@_, 1, 1);
13  
14 # Make the program identify as perl5i
15 0 $^X = $name;
16  
17 0 goto &perl5i::latest::import;
18 }
19  
20 1;
« blib/lib/perl5i/cmd.pm ↑ Summary blib/lib/perl5i/2/Meta/Class.pm »