On Apr 25, 2007, at 2:13 PM, Artur Bergman wrote: > > On Apr 25, 2007, at 2:11 PM, David Nicol wrote: > >> On 4/25/07, Artur Bergman <sky@crucially.net> wrote: >> >>> What are we trying to accomplish? >> >> do something within an import subroutine that sets a POST hook in >> the caller's scope. (to imply the unimport subroutine, for instance.) >> >> This would provide dynamic C<local> semantics for pragmata, >> as an alternative to the C<my> semantics provided by %^H. >> >> >> -- >> practical solutions to systemic problems > > there is a problem > > BEGIN { > import() > } > > is two scopes > > artur > though you could just walk the destructor stack I guess and insert it on the right place, it is quite simple arturThread Previous | Thread Next