| line |
!l |
l&&!r |
l&&r |
condition |
|
186
|
6 |
103 |
68 |
$type eq "SCALAR" and $dest == \(undef) |
|
222
|
3 |
103 |
68 |
$type eq "SCALAR" and $dest == \(undef) |
|
310
|
1 |
93 |
9 |
@_ && ref $_[-1] eq 'HASH' |
|
358
|
19 |
81 |
2 |
defined $stderr && defined $stdout && $stderr eq $stdout |
|
420
|
0 |
101 |
1 |
defined $r and $r == -1 || 0 |
|
|
101 |
1 |
0 |
defined $r and $r == -1 || 0 and not $options->{'return_if_system_error'} |
|
450
|
7 |
2 |
93 |
defined $out_fh and $out_type |
|
|
9 |
1 |
92 |
defined $out_fh and $out_type and $out_type ne "FH" |
|
452
|
18 |
0 |
84 |
defined $err_fh and $err_type |
|
|
18 |
0 |
84 |
defined $err_fh and $err_type and $err_type ne "FH" |
|
|
0 |
2 |
82 |
defined $err_fh and $err_type and $err_type ne "FH" and not $tie_err_to_out |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
128
|
77 |
16 |
1 |
$fh_cache{'in'} ||= tempfile() |
|
172
|
11 |
0 |
0 |
seek $fh, 0, 0 or croak("$! seeking on temp file for child's stdin") |
|
190
|
53 |
15 |
0 |
$fh_cache{'nul'} ||= do {
open $fh, ">", "File::Spec"->devnull;
$fh
} |
|
208
|
88 |
18 |
0 |
$fh_cache{$what} ||= tempfile() |
|
375
|
95 |
0 |
0 |
open STDOUT_SAVE, ">&STDOUT" or croak("run3(): $! saving STDOUT") |
|
377
|
84 |
0 |
0 |
open STDERR_SAVE, ">&STDERR" or croak("run3(): $! saving STDERR") |
|
385
|
96 |
0 |
0 |
dup2(fileno $in_fh, 0) or croak("run3(): $! redirecting STDIN") |
|
393
|
95 |
0 |
0 |
open STDOUT, '>&' . fileno($out_fh) or croak("run3(): $! redirecting STDOUT") |
|
397
|
84 |
0 |
0 |
open STDERR, '>&' . fileno($err_fh) or croak("run3(): $! redirecting STDERR") |
|
441
|
95 |
0 |
0 |
open STDOUT, ">&STDOUT_SAVE" or push @errs, "run3(): $! restoring STDOUT" |
|
443
|
84 |
0 |
0 |
open STDERR, ">&STDERR_SAVE" or push @errs, "run3(): $! restoring STDERR" |