Re: [RFC] Text-Balanced 1.96 proposed interface changes: return failure in list context
[email protected] (david) Mon, 16 Feb 2004 18:00:23 -0600
| Newsgroups | perl.recdescent,perl.module-authors |
|---|---|
| Message-ID | <[email protected]> |
Vagn Johansen wrote: > How are interface changes handled on CPAN? They're not. I'm trying to promote a pradigm of including a VERSION subroutine that will croak (or at least die) when you ask for a non-forwards-compat. version. In theory, you change the name when you change the itnerface, instead of merely updating the version number. >How do you avoid breaking old programs when the interface changes? > > Issue a new module name with the new interface, and maintain both versions for bugs.