Perl 5 module to run code after a subroutine call
