blib/lib/perl5i/cmd.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
import
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
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 my $class = $_[0];
10  
11 # Remove the name from the import list before passing it along to perl5i.
12 my $name = splice(@_, 1, 1);
13  
14 # Make the program identify as perl5i
15 $^X = $name;
16  
17 goto &perl5i::latest::import;
18 }
19  
20 1;