> Class::Hook isn't quite right, since it's about catching method calls for > _non-existent_ classes. Hook::LexWrap isn't right either, because it > wraps _all_ calls.
Well I was thinking that Class::Hook could catch calls to 'classes' created by DT::Wrapper or DT::Wrapper would inherit from DT and use Hook::LexWrap. I agree that Class::Decorator looks like the better solution but I've never used it. (just offering alternatives). > Internally, DT::Wrapper would probably use Class::Decorator to create one > or more wrapping layers. Are you volunteering to write it? :) -J --
