On 4/25/07, Rafael Garcia-Suarez <rgarciasuarez@gmail.com> wrote: > You mean add Hook::Scope to the core ? > (I haven't tested it with blead, but since it's ridiculously simple, I > think it should.) first, extend it so it becomes possible to add things to POST blocks in enclosing, outer scopes somehow, even accross package and file boundaries, so it can be used for implying unimport. And also either remove, or commit to keeping the block around C<use>. But yes, Hook::Scope is clearly better than shoehorning a POST hook into a tied lexical's DESTROY method. Thanks.Thread Previous | Thread Next