Hook::WrapSub - a Perl module wrapping subs This distribution contains a Perl module which lets you wrap a sub with either or both of functions that are called just before or just after the sub. You can read a nicely formatted version of the documentation for this module online: https://metacpan.org/pod/Hook::WrapSub You should be able to install this using your usual method for installing modules from CPAN. If you don't have a usual method, have a look at: http://www.cpan.org/modules/INSTALL.html This software is copyright (c) 1999 John Porter This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.