Message-Id: <
20020101131316.A475@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@13997
use Test::More;
use strict;
use warnings;
-use Errno qw(EPIPE ESHUTDOWN);
+use Errno;
my $skip_reason;
}
SKIP: {
# This may need skipping on some OSes
- ok (($! == EPIPE or $! == ESHUTDOWN), '$! should be EPIPE or ESHUTDOWN')
+ ok (($!{EPIPE} or $!{ESHUTDOWN}), '$! should be EPIPE or ESHUTDOWN')
or printf "\$\!=%d(%s)\n", $!, $!;
}