# New Ticket Created by gfw blackcat # Please include the string: [perl #126349] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126349 >
perl6 --version: This is perl6 version 2015.09 built on MoarVM version 2015.09 source code: #!/usr/bin/env perl6 my @strs = ("11 22 33", "44 55 66", "77 88 99"); for @strs { $_ ~~ s/\s(\S+)\s(\S+)/-$0-$1/; } say @strs; output: Use of Nil in string context in code at smart_match.p6:6 Use of Nil in string context in code at smart_match.p6:6 [11-- 44-22-33 77-55-66] should be: [11--22--33 44-55-66 77-88-99]