John E. Malmberg [Mon, 21 Nov 2005 22:09:17 +0000 (17:09 -0500)]
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <
43828BDD.7080302@qsl.net>
p4raw-id: //depot/perl@26187
while ($_ = shift(@XXX)) {
?(.*)? && (print $1,"\n");
/not/ && reset;
- /not ok 26/ && reset 'X';
+ if (/not ok 26/) {
+ if ($^O eq 'VMS') {
+ $_ = shift(@XXX);
+ }
+ else {
+ reset 'X';
+ }
+ }
}
-while (($key,$val) = each(%XXX)) {
+if ($^O ne 'VMS') {
+ while (($key,$val) = each(%XXX)) {
print "not ok 27\n";
exit;
+ }
}
print "ok 27\n";