[perl #58396] Closure parameters do not work in if statements in Rakudo

2008-11-16 Thread [EMAIL PROTECTED] via RT
On Wed Aug 27 06:17:33 2008, masak wrote: > r30590: > $ ./perl6 -e 'sub testa { return 5 }; if testa() -> $a { say $a }' > Statement not terminated properly at line 1, near "-> $a { sa" > [...] > This now works (thanks to pmichaud++) - resolving ticket. Jonathan

[perl #58396] Closure parameters do not work in if statements in Rakudo

2008-08-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #58396] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58396 > r30590: $ ./perl6 -e 'sub testa { return 5 }; if testa() -> $a { say $a }' Statement not