Subject: Re: [perl #19049] Incorrect $` after replacement (test for same)
Message-ID: <
20030711001242.GD2484@the.earth.li>
p4raw-id: //depot/perl@20158
$| = 1;
-print "1..1006\n";
+print "1..1007\n";
BEGIN {
chdir 't' if -d 't';
#$_ = "x"; /x(?{func "in regexp"})/;
#$_ = "x"; /x(?{func "in multiline regexp"})/m;
-# last test 1004
+# bug #19049
+$_="abcdef\n";
+@x = m/./g;
+ok("abcde" eq "$`", '# TODO #19049 - global match not setting $`');
+
+# last test 1007