method calls now failing if bound to a global match. Add a TODO test.
p4raw-id: //depot/perl@26904
$| = 1;
-print "1..1195\n";
+print "1..1196\n";
BEGIN {
chdir 't' if -d 't';
"# assigning to original string should not corrupt match vars");
}
-# last test 1195
+{
+ package wooosh;
+ sub gloople {
+ "!";
+ }
+ package main;
+
+ my $aeek = bless {}, 'wooosh';
+ eval {$aeek->gloople() =~ /(.)/g;};
+ ok($@ eq "", "# TODO 26410 caused a regression") or print "# $@\n";
+}
+# last test 1196