Perl Monk, Perl Meditation | |
PerlMonks |
Re^7: Monkey patching all subs with a basic 'starting subname' message (trace perldebugger)by LanX (Saint) |
on Jul 18, 2017 at 13:44 UTC ( [id://1195344]=note: print w/replies, xml ) | Need Help?? |
> sub HOW_DO_I_GET_$original_proto_IN_HERE? { AFAIK it's only possible via eval, if you think you've already delegated the maximum possible into closures, you should be fine. I'm sure if you dig long enough into CPAN you'll find some (semi-) official hack to change the prototype. YMMV. Good luck PS: Hope you're already aware of the trace options in perldebug
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|