in reply to Per-object DESTROY

I guess you mean Scope::Guard related patterns. adamk's Object::Destroyer could be useful too although it targets cyclic referencing

cheers --stephan update: look at the modules present in the SEE ALSO section of Scope::Guard for various interesting approaches to a similar problem