in reply to Monkey patching all subs with a basic 'starting subname' message

> by adding the following to the bottom of the package file:

You may want to consider a CHECK or UNITCHECK block, like this you might be able to hide all magic inside a used module.

See perlmod#BEGIN%2c-UNITCHECK%2c-CHECK%2c-INIT-and-END

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: Monkey patching all subs with a basic 'starting subname' message