| Next | Hook::LexWrap | 9 |
The manual claims lexically scoped wrappers:
{
my $dummy = wrap 'foo', pre => ..., post => ...;
foo(...); # Pre and post wrappers are called
}
foo(...); # Pre and post wrappers are not called
continued...
| Next | ![]() |
Copyright © 2003 M. J. Dominus |