Next | Hook::LexWrap | 2 |
Wraps a function, say f
There can be a prewrapper, a postwrapper, or both
Whenver you call f, the prewrapper is called first
(if there is one)
After f returns, the postwrapper is called
(if there is one)
Several other CPAN modules are similar:
Hook::WrapSub Hook::PrePostCall
And perhaps others.
Next | Copyright © 2003 M. J. Dominus |