in reply to Re^2: Iterative anonymous subroutines
in thread Iterative anonymous subroutines

And everyone is going to have to learn the other way for perl 6 because lexicals spring into existence immediately upon being parsed (not the whole statement, just the variable). So, in this code:

my $x = $x + 5;
Both $x refer to the same storage location (the same variable). To get the perl5 behavior you have to say something like:
my $x = $OUTER::x + 5;