|
|
| "be consistent" | |
| PerlMonks |
Re: Safer monkey-patchingby Anonymous Monk |
| on Jan 19, 2012 at 03:57 UTC ( #948667=note: print w/ replies, xml ) | Need Help?? |
|
For some reason I think this worse than just monkey patching, but I really can't pin down why -- conclusion, whatever floats your boat, its all the same to me update: After reviewing some of my recent monkey patching efforts ( htmltreexpather.pl, Re: HTML::TableExtract Memory Usage ), I figured out why I don't like messing with @ISA, it evokes feelings of action at a distance, after all it is one step removed, where as monkey patching is as straight forward as you can get. I also vaguely recall method lookup caching could survive @ISA updates. So , I think I'll stick to monkey patching :)
In Section
Meditations
|
|
||||||||||||||||||||||||||