in reply to
Rewriting sub code on import to add logging
This sounds like just the kind of problem that Aspect Oriented programming was designed to solve. I don't know how practical AOP on perl is, but there is a module for it:
Aspect-0.08
.
Comment on
Re: Rewriting sub code on import to add logging
In Section
Seekers of Perl Wisdom