Aaron Sherman <[EMAIL PROTECTED]> wrote:
> > If it's an outer-scope lexical, use C<caller->{MY}>
> 
> Ok, I'm all over the nice new features of Perl6, but darnit,
> "upvar" is one of the primary reasons that TCL is unusable. Please,
> let's not soften the walls of lexical scope. They're there for a
> reason.

The main motivating factor for %MY:: is so that 'use Foo' allows Foo
to modify the lexical scope of its invoker, as opposed to Perl 5 where
it has to modify the whole package to import symbols.

Clearly this is a Good Thing.

As to whether other uses of %MY:: are Good Things, see previous discussions
ad nauseum on -internals and -language.

Reply via email to