$| = 1;
-# We do not want the whole taint.t to fail
-# just because Errno possibly failing.
-eval { require Errno; import Errno };
-
use vars qw($ipcsysv); # did we manage to load IPC::SysV?
BEGIN {
test 72, $@ eq '', $@; # NB: This should be allowed
# Try first new style but allow also old style.
- test 73, $!{ENOENT} ||
+ # We do not want the whole taint.t to fail
+ # just because Errno possibly failing.
+ test 73, eval('$!{ENOENT}') ||
$! == 2 || # File not found
($Is_Dos && $! == 22) ||
($^O eq 'mint' && $! == 33);
123456789
######## [ID 20020104.007] "coredump on dbmclose"
package Foo;
-eval { dbmclose %h }; # not all places have dbm* functions
+eval { require AnyDBM_File }; # not all places have dbm* functions
if ($@) {
print "ok\n";
exit 0;