At 11:51 AM 9/6/2001 -0400, Uri Guttman wrote:
> >>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>
>   DS>    my $foo = 'a';
>   DS>    {
>   DS>      {
>   DS>        %MY[-1]{'$foo'} = 'B';
>   DS>        print $foo;
>   DS>      }
>   DS>     }
>
>explain %MY[-1] please.
>
>my impression is that is illegal/meaningless in perl6. maybe you meant
>something with caller and getting the last scope.

Yup. I don't know that caller will be right when walking up plain block 
scopes, so I punted on the syntax.

I could probably give you the bytecode... :)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to