Skip Menu |

This queue is for tickets about the POSIX-Regex CPAN distribution.

Report information
The Basics
Id: 36146
Status: resolved
Worked: 1 min
Priority: 0/
Queue: POSIX-Regex

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.90.6
Fixed in: (no value)



Subject: Decreasing version number
According the the perl version arithmetic, 0.90.6 is less than 0.90. To beat 0.90 with multidot versions you need...version.pm is your friend: % perl -le 'use version;printf "%12s:%3d\n", $_, version->new($_) <=> version->new("0.90") for @ARGV;' 0.90.6 0.900.1 0.901.0 1.0.0 0.90.6: -1 0.900.1: 1 0.901.0: 1 1.0.0: 1 Please adjust. Users who have written use POSIX::Regex 0.90 now need to rewrite their programs and downgrade. Probably not what you intended. Thanks,
Subject: Re: [rt.cpan.org #36146] Decreasing version number
Date: Sat, 24 May 2008 09:12:12 -0400
To: Andreas Koenig via RT <bug-POSIX-Regex [...] rt.cpan.org>
From: Paul Miller <paul [...] voltar.org>
On Fri, May 23, 2008 at 11:45:51PM -0400, Andreas Koenig via RT wrote: Show quoted text
> According the the perl version arithmetic, 0.90.6 is less than 0.90. To > beat 0.90 with multidot versions you need...version.pm is your friend:
This irritates me to no end. I suppose I'll have to fix it all over. Why did perl choose this floating point numbering system? Linux, gnome packages, and even perl itself use a version.subversion.release numbering system... Oh well. I have quite a few packages to renumber. Thanks for your input, -Paul -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
Subject: Re: [rt.cpan.org #36146] Decreasing version number
Date: Sat, 24 May 2008 10:17:39 -0400
To: Andreas Koenig via RT <bug-POSIX-Regex [...] rt.cpan.org>
From: Paul Miller <paul [...] voltar.org>
On Sat, May 24, 2008 at 09:12:11AM -0400, Paul Miller wrote: Show quoted text
> This irritates me to no end. I suppose I'll have to fix it all
It is, nevertheless, correct advice. I fixed it around the world. -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
Thanks. I had to fix this on quite a few modules. -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #36146] Decreasing version number
Date: Sat, 24 May 2008 17:17:11 +0200
To: bug-POSIX-Regex [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Sat, 24 May 2008 09:12:42 -0400, "Paul Miller via RT" <bug-POSIX-Regex@rt.cpan.org> said:
Show quoted text
> Why did perl choose this floating point numbering system?
When perl 5 came out it had no data type for multiple dots and nobody had the inclination to develop it from one day to the other. So it was decided to do the floating point math. I actually do remember that pretty well. And then it took a tremendous time to develop the multidot notation because again nobody had the inclination to develop this stuff for oh so many years. -- andreas
Subject: Re: [rt.cpan.org #36146] Decreasing version number
Date: Sat, 24 May 2008 16:14:11 -0400
To: "(Andreas J. Koenig) via RT" <bug-POSIX-Regex [...] rt.cpan.org>
From: Paul Miller <paul [...] voltar.org>
On Sat, May 24, 2008 at 11:18:40AM -0400, (Andreas J. Koenig) via RT wrote: Show quoted text
> > Why did perl choose this floating point numbering system?
> When perl 5 came out it had no data type for multiple dots and nobody > had the inclination to develop it from one day to the other. So it was > decided to do the floating point math. I actually do remember that > pretty well. And then it took a tremendous time to develop the > multidot notation because again nobody had the inclination to develop > this stuff for oh so many years.
It makes sense in many ways. I'm glad I finally adapted. I wasn't comfortable with the objected oriented qv(0.90.6), so I went with version->new("0.90.6")->numify. That way I'm floating point for people that care and I'm tripple point for me. I do thank you for your input. -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
I don't understand why this was reopened... Short of versioning this up 1.900 I don't really see any way to fix this. -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.