Enbld/Command/Intro.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 19 SCAR 6.9
CC
1
Cov
0%
do
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Enbld::Command::Intro;
2  
3 use strict;
4 use warnings;
5  
6 use parent qw/Enbld::Command/;
7  
8 sub do {
9  
10 my $module_path = $INC{'Enbld/Command.pm'};
11 $module_path =~ s{/Command\.pm$}{};
12  
13 my $path = $module_path . '.pm';
14  
15 system ( 'perldoc', $path );
16  
17 return $_[0];
18 }
19  
20 1;