Sub::WrapPackages - add pre- and post-execution wrappers around all the subroutines in packages or around individual subs. WWW: https://metacpan.org/release/Sub-WrapPackages