>> Furthermore, in the "more rope" department, it might be possible to make
>> local() work on my() variables this way.
>
> I'm still unsure if this is a good thing. I think it is, but it's worth
> some pondering.
>
> -Nate
>

  In the programming languages class I took last year, we wrote an
interpreter in Scheme for several variants of a Scheme-like language.
It is quite possible to have a language that only has lexical
variables but allows dynamic assignment for those variables.  Just
about anything you would want to do with a dynamic variable can be
done with dynamic assignment.

  Now, whether or not Perl can be written to do this remains to be
seen.  (But I suspect it is possible if the implementers start with
lexicals, then add in dynamic assignment, and add in dynamic scoping
later or never.)


J. David
Responding to messages on this list for the past two days in LIFO
order. :)

Reply via email to