On Wednesday, January 28, 2004, at 05:34 am, David Manura wrote: [snip]
Yes. However, the added benefit of Version::Split is that it moves the maintanance of "'>= 1.2, != 1.5, < 2.0'" away from Foo::Bar and centrally into Other::Module. As Fergal stated,[snip]
> V::S tries to move the version problem from the user (who in general knows the > least about what versions are compatible) to the author (who in theory knows
> most).
This should be less error prone and easier to maintain.
Hmmm... I'm not so sure that that's always (or even mostly) true.
- I've certainly been caught by many accidentally introduced bugs / subtle interface changes that the module author wasn't aware of (so no interface change)
- I've also carried on using modules that have had interface changes without problems - because I've not been using that particular piece of the API.
Just a thought...
Adrian