No such thing as a small change | |
PerlMonks |
Re: Upgrade-proofing overridden subroutinesby adrianh (Chancellor) |
on Aug 15, 2006 at 11:12 UTC ( [id://567421]=note: print w/replies, xml ) | Need Help?? |
If the version method is called, the replace will die loudly if the version does not match. Thus, an external patch to a module will fail if that module is upgraded. This seems much safer than our current alternatives. Is this a reasonable approach or am I missing something? If you can detect the broken functionality programatically - maybe only apply the patch in this instance? Adrian (hoping it's not Test::Class that's causing the problems :-)
In Section
Seekers of Perl Wisdom
|
|