> # I'm uncomfortable [that]
> # one can reach in to the caller's lexical
> # context from any place in a callee's body.
>
> We need that capability if we're going to
> have lexically-scoped exports:

I think I was a bit careless in how I worded
that.

My problem is not that one reaches in to the
caller's lexical context, but where one gets
to declare that that is going to happen.

I am thinking one should have to predeclare
in a sub's preamble that such a trick will
be going on.

Thus something like:

    sub foo [&bar] { ... }

is (part of what is) required to be allowed
to create a bar sub in the context of the
caller of foo.

--
ralph

Reply via email to