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 reply to Re: Upgrade-proofing overridden subroutines
by adrianh
in thread Upgrade-proofing overridden subroutines
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |