in reply to Tweaking 'return'.
I can't remember what it's called, but there's a module that wraps a function call with pre and post handlers. Sounds perfect if you want to do this for a few functions.
Update: I found Hook::PrePostCall, but I think there's another one. I haven't used either.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Tweaking 'return'.
by fishbot_v2 (Chaplain) on Nov 22, 2005 at 22:10 UTC | |
Re^2: Tweaking 'return'.
by jdporter (Paladin) on Nov 23, 2005 at 16:18 UTC |