return 1;
}
-print "1..53\n";
+print "1..54\n";
$Is_MSWin32 = $^O eq 'MSWin32';
$Is_NetWare = $^O eq 'NetWare';
}
if ($Is_miniperl) {
- skip ("miniperl can't rely on loading %Errno");
+ skip ("miniperl can't rely on loading %Errno") for 1..2;
} else {
no warnings 'void';
}
ok $ok;
}
+
+# Test for bug [perl #27839]
+{
+ my $x;
+ sub f {
+ "abc" =~ /(.)./;
+ $x = "@+";
+ return @+;
+ };
+ my @y = f();
+ ok( $x eq "@y", "return a magic array ($x) vs (@y)" );
+}