# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #57876] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57876 >
r30183: $ ./perl6 -e ' sub x { } if 1 { }' Statement not terminated properly at line 4, near "{\n}" [...] >From S04: =head1 Statement-ending blocks A line ending with a closing brace "C<}>", followed by nothing but whitespace or comments, will terminate a statement if an end of statement can occur there. That is, these two statements are equivalent: my $x = sub { 3 } my $x = sub { 3 };