# New Ticket Created by Chris Fields # Please include the string: [perl #55962] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55962 >
This is actually two separate bugs; should we split these? Match is returning a String, not a Perl6Str. Similarly, split() is also returning a String. Notably Rakudo's Str.pir split() definition indicates that a List of Perl6Str is supposed to be returned. In both examples below, I try to increment the string: cjfields:tests cjfields$ perl6 -v This is Rakudo Perl 6, revision 28487 built on parrot 0.6.3-devel for darwin-2level. Copyright 2006-2008, The Perl Foundation. cjfields:tests cjfields$ perl6 > regex Test {(A)(D)}; 'AD' ~~ Test; my $a = $0; my $d = $1; say $a.. $d; [oops; continuation 0x1a087c4 of type 21 is trying to jump from runloop 1208 to runloop 98] increment() not implemented in class 'String' > my @foo = 'AB'.split(''); say @foo; @foo[0]++; AB increment() not implemented in class 'String'