Re: Dynamically Scoped Dynamic Scopes

2005-03-01 Thread Larry Wall
On Sun, Feb 27, 2005 at 10:52:58AM -0800, Dave Whipp wrote: : One could imagine implementing this by creating the scopes as instances : of an object, and then binding the object's attributes onto the : variables (i.e. "our $foo := $obj.bar"). The "scope space" object would : then be the set of g

Dynamically Scoped Dynamic Scopes

2005-02-27 Thread Dave Whipp
lexical scope that contains it. A concept that we seem to be missing is the possibility of dynamically scoped dynamic scopes. I hesitate to come up with a syntax; but I can think of a couple of examples where it might be used. Caveat: if you beleive that globals are fundamentally evil, and that