On Thu, Apr 23, 2009 at 9:45 PM, Adam Kennedy <adamkennedybac...@gmail.com> wrote: > 2009/4/23 Zefram <zef...@fysh.org>: >> Why shouldn't this situation be an error, and die because "1.06" can't >> be compared with "v1.7.0"? > > Because that would make half of CPAN incompatible with the other half of CPAN.
No it wouldn't, it would only make it difficult for an author to switch in mid-stream from one style of version numbers to another style. Which *ought* to be difficult, because it's a bad idea. Also, it doesn't have to be so draconian. 1.06 can't be compared with v1.7.0, but either can be compared with 2.x, no matter what the interpretation after the dot is. So if a user wants to switch their version style they just bump the major version. -Ken