# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #64820] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64820 >
<masak> rakudo: .say for $_ for <a b c>, <d e f> <p6eval> rakudo 341f44: OUTPUT«Use of uninitialized valueCould not find non-existent sub for [...] * masak submits rakudobug <masak> std: .say for $_ for <a b c>, <d e f> <p6eval> std 26257: OUTPUT«##### PARSE FAILED #####Malformed block [...] S04 says "a looping statement modifier is allowed to contain a single conditional statement modifier", which seems to imply that other combinations are not allowed. So STD is right not to parse this, and Rakudo is wrong. Both could give more diagnostic error messages. Double statement-ending 'if' seems to have the same issues, as well as an inner statement-ending 'for' in an outer statement-ending 'if'.
