This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Slow down split in scalar context :-)
authorFather Chrysostomos <sprout@cpan.org>
Sun, 1 Nov 2009 20:28:45 +0000 (12:28 -0800)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Mon, 2 Nov 2009 07:19:56 +0000 (08:19 +0100)
Here’s a patch to include the bug number in the test script.

And 68971 can be resolved, too. Sorry for the duplicate!

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
t/op/split.t

index da12b3e..6e98078 100644 (file)
@@ -462,7 +462,7 @@ is($cnt, scalar(@ary));
 }
 
 {
-    # Bug #XXXXX
+    # Bug #69875
     # 'Hybrid' scalar-and-array context
     scalar(our @PATH = split /::/, "Font::GlyphNames");
            # 'my' doesn't trigger the bug