in reply to Upgrade-proofing overridden subroutines
If the version method is called, the replace will die loudlyWouldn't it be $override->version() that dies loudly?
In answer to your question, except for my confusion above, yes, this strikes me as a nicely balanced solution for the many cases where it isn't easy or reliable to detect the specific flaw.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Upgrade-proofing overridden subroutines
by Ovid (Cardinal) on Aug 15, 2006 at 11:53 UTC |