> Any other wisdom to be shared here (bar the obvious "don't" and "use a cpan module")?
Well even if you do it yourself, you are free to look into the code
concerning:
1. You can check the target prototype before patching with prototype
3. It's possible to inspect the originating "home" package of a sub, again try searching the archives here°
Nota bene: Perl has a trace option ( perlrun ) and the debugger has many means to "watch" subs ( perldebug )
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
°) See B::svref_2object($subref) in B
In reply to Re: Monkey patching all subs with a basic 'starting subname' message
by LanX
in thread Monkey patching all subs with a basic 'starting subname' message
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |