in reply to Re: Re: Re: Re: Scope Between global and my
in thread Scope Between global and my

Well, you can love local for what it is already, but in Perl 6 it's renamed to temp to be clearer about what it's doing. And you'll be able to use it on previously declared lexical variables.

Replies are listed 'Best First'.
Re^6: Scope Between global and my
by adrianh (Chancellor) on Apr 02, 2004 at 20:29 UTC
    And you'll be able to use it on previously declared lexical variables.

    We're going to be able to dynamically localise lexicals in Perl 6 - fan-bloody-tastic! I've not used a language that can do that since my Pop-11 days :-)

    Excellent!