blib/lib/Module/Build/Platform/os2.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran 0.0% 0 / 6 Conditioncond 0.0% 0 / 9 MC/DCmcdc 0.0% 0 / 6 Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 50 CC 4 SCAR 23.0
CC
4
Cov
0%
_maybe_command
20.0
manpage_separator
2.0
have_forkpipe
2.0
CRAP 10.0
1 package Module::Build::Platform::os2;
2  
3 use strict;
4 use warnings;
5 our $VERSION = '0.4234';
6 $VERSION = eval $VERSION;
7 use Module::Build::Platform::Unix;
8  
9 our @ISA = qw(Module::Build::Platform::Unix);
10  
11 sub manpage_separator { '.' }
12  
13 sub have_forkpipe { 0 }
14  
15 # Copied from ExtUtils::MM_OS2::maybe_command
16 sub _maybe_command {
17 my($self,$file) = @_;
18 $file =~ s,[/\\]+,/,g;
19 return $file if -x $file && ! -d _;
20 return "$file.exe" if -x "$file.exe" && ! -d _;
21 return "$file.cmd" if -x "$file.cmd" && ! -d _;
22 return;
23 }
24  
25 1;
26 __END__