mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
6 lines
335 B
Plaintext
6 lines
335 B
Plaintext
Hook::LexWrap Perl5 module allows you to install a pre- or post-wrapper
|
|
(or both) around an existing subroutine. Unlike other modules that
|
|
provide this capacity (e.g. Hook::PreAndPost and Hook::WrapSub),
|
|
Hook::LexWrap implements wrappers in such a way that the standard
|
|
`caller' function works correctly within the wrapped subroutine.
|