blib/lib/IO/Async/Debug.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 5 | 0.0 |
line | l | !l | condition |
---|---|---|---|
72 | 0 | 0 | $fh ||= \*STDERR |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
63 | 0 | 0 | 0 | $DEBUG_FH ||= do { my $fh; if ($DEBUG_FILE) { undef $fh unless open $fh, '>', $DEBUG_FILE; } elsif ($DEBUG_FD) { $fh = 'IO::Handle'->new; undef $fh unless $fh->fdopen($DEBUG_FD, 'w'); }; $fh ||= \*STDERR; $fh->autoflush; $fh } |