From: "yves orton via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-32013-
1163778013-580.17542-15-0@perl.org>
p4raw-id: //depot/perl@29309
}
require './test.pl';
-plan( tests => 134 );
+plan( tests => 135 );
$x = 'foo';
$_ = "x";
s/(((((((((x)))))))))(y)/${10}/;
is($_,"y","RT#6006: \$_ eq '$_'");
}
+{
+ my $want=("\n" x 11).("B\n" x 11)."B";
+ $_="B";
+ our $i;
+ for $i(1..11){
+ s/^.*$/$&/gm;
+ $_="\n$_\n$&";
+ }
+ is($want,$_,"RT#17542");
+}