# New Ticket Created by  Ilya Belikin 
# Please include the string:  [perl #60604]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60604 >


Hi!
I start that message like bug report, but I have doubt.

example:

class A {
    method foo (@a) {
        @a.grep: { say @a }; # just for example, real code not so pointless
    }
}

my $o = A.new;

$o.foo(['foo']); # foo
$o.foo([1, 2]); # foo
                       # foo

Look like grep curls construct closure.
Mb it`s all right in perl6?

Ilya

Reply via email to