}
-
-$| = 1;
-open(*TESTOUT, ">&STDOUT") or _whoa(1, "Can't dup STDOUT!");
-open(*TESTERR, ">&STDOUT") or _whoa(1, "Can't dup STDOUT!");
-{
- my $orig_fh = select TESTOUT;
- $| = 1;
- select TESTERR;
+unless( $^C ) {
$| = 1;
- select $orig_fh;
+ open(*TESTOUT, ">&STDOUT") or _whoa(1, "Can't dup STDOUT!");
+ open(*TESTERR, ">&STDOUT") or _whoa(1, "Can't dup STDOUT!");
+ {
+ my $orig_fh = select TESTOUT;
+ $| = 1;
+ select TESTERR;
+ $| = 1;
+ select $orig_fh;
+ }
}
=head1 NAME