On Tue Jan 20 11:29:48 2009, moritz wrote:
> Status update: 'my sub name { ... }' is parsed, but it's not lexical:
>
> $ ./perl6 -e '{ my sub f { say "in f" }; f() }; f(); { my sub f { say
> "in second f" }; f() }; f()'
> in f
> in f
> in f
> in f
>
> That should die on the second call to f().
>
On Tue Nov 25 13:19:15 2008, moritz wrote:
> Rakudo as of r33193 doesn't implement lexical subroutines; neither 'my
> sub ...' is implemented nor does 'my $x = sub { ... }' work properly (a
> test for the latter can be found in t/spec/integration/man-or-boy.t).
>
All of:
my $x = sub { ... }
my &x
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #60822]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=60822 >
Rakudo as of r33193 doesn't implement lexical subroutines; neither 'my
sub ...' is implem