# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #66776] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66776 >
<masak> perl6: for 1,2,3, { say $_ } <p6eval> rakudo 1b06df: OUTPUT«Could not find non-existent sub for» <p6eval> ..pugs: OUTPUT«123» <p6eval> ..elf 27154: OUTPUT«Parse error in: /tmp/9lN36lTpDypanic at line 1 column 0 (pos 0): Can't understand next input--giving upWHERE: for 1,2,3, { say $_ }WHERE:/\<-- HERE [...] <masak> arguably, Rakudo gets this one right. <masak> but I find it fairly easy to forget to remove a trailing comma before the block. <TimToady> std: for 1,2,3, { say $_ } <p6eval> std 27154: OUTPUT«##### PARSE FAILED #####Expression needs parens to avoid gobbling block [...] <masak> yes, that would help. * masak submits rakudobug