Fix the existing tests that didn't checked the difference
between 0 and undef.
p4raw-id: //depot/perl@18171
return 1;
}
-print "1..47\n";
+print "1..48\n";
$Is_MSWin32 = $^O eq 'MSWin32';
$Is_NetWare = $^O eq 'NetWare';
my %errs = %{"!"}; # Cause Errno.pm to be loaded at run-time
ok ${"!"}{ENOENT};
-ok $^S == 0;
+ok $^S == 0 && defined $^S;
eval { ok $^S == 1 };
-ok $^S == 0;
+eval " BEGIN { ok ! defined \$^S } ";
+ok $^S == 0 && defined $^S;
ok ${^TAINT} == 0;
eval { ${^TAINT} = 1 };