# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #94128] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=94128 >
<masak> std: my @a = 1, 2, 3, given 42; <p6eval> std 37a0cdd: OUTPUT«ok 00:01 122m» <masak> rakudo: my @a = 1, 2, 3, given 42; say @a <p6eval> rakudo 72d158: OUTPUT«Could not find sub &given [...] * masak submits rakudobug A comma at the end of a list before the end of a statement is usually not a problem. If I'm reading the output from STD.pm6 correctly, the same goes for commas just before 'given' (and 'if' and 'while' and other statement modifiers). Rakudo seems to be in term position only and treats the 'given' as a sub call.