Skip Menu |

This queue is for tickets about the Text-Autoformat CPAN distribution.

Report information
The Basics
Id: 35814
Status: resolved
Priority: 0/
Queue: Text-Autoformat

People
Owner: Nobody in particular
Requestors: martin.ferrari [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: v1.14.0
Fixed in: 1.666.0



Subject: Problem with cpan indexes
There's a problem with the indexing of this distribution in CPAN, the 02packages.details.txt.gz doesn't list the v1.14.0 release: Text::Autoformat 1.13 D/DC/DCONWAY/Text-Autoformat-1.13.tar.gz Thanks.
The reason is of course that the version arithmetic between folating point and multidot notation strikes % perl -le 'use version;print version->new("1.13") <=> version->new("1.14.0");' 1 To beat 1.13 one nees something like 1.130.1, 1.131.0, or 2.0.0 I'd like to see a new release that sets this straight.
Subject: Re: [rt.cpan.org #35814] Problem with cpan indexes
Date: Mon, 12 May 2008 14:00:33 -0300
To: bug-Text-Autoformat [...] rt.cpan.org
From: "Martín Ferrari" <martin.ferrari [...] gmail.com>
Hi Andreas, On Mon, May 12, 2008 at 1:38 PM, Andreas Koenig via RT <bug-Text-Autoformat@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=35814 > > > The reason is of course that the version arithmetic between folating > point and multidot notation strikes > > % perl -le 'use version;print version->new("1.13") <=> > version->new("1.14.0");' > 1 > > To beat 1.13 one nees something like 1.130.1, 1.131.0, or 2.0.0 > > I'd like to see a new release that sets this straight. >
The problem is that it's mixing numeric version (1.13) with extended version (1.14.0), in version.pm parlance. If you use the new qv operator/function, you get the desired result: $ perl -le 'use version;print qv("1.13") <=> qv("1.14.0");' -1 Sadly, CPAN::Version doesn't use this per default. Can this somehow be fixed? Thanks again, Tincho. -- Martín Ferrari
This was dealt with a while ago.