# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #58396] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58396 >
r30590: $ ./perl6 -e 'sub testa { return 5 }; if testa() -> $a { say $a }' Statement not terminated properly at line 1, near "-> $a { sa" [...] By <http://perlcabal.org/syn/S04.html#Conditional_statements> and t/statements/if.t, this should work.