Menlo/Util.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Menlo::Util;
2 use strict;
3  
4 use Exporter;
5 our @ISA = qw(Exporter);
6 our @EXPORT_OK = qw(WIN32);
7  
8 use constant WIN32 => $^O eq 'MSWin32';
9  
10 if (WIN32) {
11 require Win32::ShellQuote;
12 *shell_quote = \&Win32::ShellQuote::quote_native;
13 } else {
14 require String::ShellQuote;
15 *shell_quote = \&String::ShellQuote::shell_quote_best_effort;
16 }
17  
18 1;
19