Binary package “libmonkey-patch-perl” in ubuntu bionic

scoped monkey-patching Perl module

 Monkey patching is a way to extend or modify the runtime code of a
 program or library without altering the original source code.
 .
 Monkey::Patch provides lexical scope monkey-patching so that you can wrap
 any other package's subroutine with your own code and still have access
 to the original subroutine.