Hook::LexWrap - Lexically scoped subroutine wrappers https://www.cpan.org/
Go to file
2024-01-06 09:08:38 +01:00
perl-Hook-LexWrap.spec package created by autospec [release 0.22-1mamba;Fri Feb 18 2011] 2024-01-06 09:08:38 +01:00
README.md package created by autospec [release 0.22-1mamba;Fri Feb 18 2011] 2024-01-06 09:08:38 +01:00

perl-Hook-LexWrap

Hook::LexWrap 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.