On Fri, 31 Aug 2001 19:38:10 EDT, Michael G Schwern wrote: >Here it is. A complete, documented C<local chdir($dir)> based on >crab's code patch. > >I plan to do similar things to single-arg select() and umask(). > >Scream now or forever hold your peace. I like neither the idea nor the implementation, unfortunately. There is semantic complexity here, and I'd like to see how this sort of feature will generalize to other things. I'd much rather see some way to hook user subroutines into the scope stack so that you can write such things as a module (not to mention the fact that you already can if you use DESTROY() in ways not guaranteed to be supported in future). op_private bits are a limited resource--using them up for such cavalier one-off purposes is Not Good. There, I've said it without screaming. :-) Sarathy gsar@ActiveState.comThread Previous | Thread Next