Skip Menu |

This queue is for tickets about the CPAN-DistnameInfo CPAN distribution.

Report information
The Basics
Id: 4112
Status: resolved
Priority: 0/
Queue: CPAN-DistnameInfo

People
Owner: Nobody in particular
Requestors: claes [...] surfar.nu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: (no value)



Subject: Wrong parsing on Unicode-Collate-Standard-V3_1_1-0.1.tar.gz
Hi, Great module! It'll definitly be used in CPANXR =) However, I ran a script that does distname_info on all distributions in my cpan mirror and I encountered the following: - Unicode-Collate-Standard-V3_1_1-0.1.tar.gz seems to be parsed incorrectly. The returned version is 'V3_1_1-0.1' but I expected '0.1'. A quick look in the source for that module defines the package Unicode::Collate::Standard::V3_1_1 so I guess the version should be 0.1. perl version is 5.6.0 on Darwin (OS X 10.2) Cheers, Claes
From: Graham Barr <gbarr [...] pobox.com>
Subject: Re: [cpan #4112] Wrong parsing on Unicode-Collate-Standard-V3_1_1-0.1.tar.gz
Date: Wed, 15 Oct 2003 15:31:10 +0100
To: bug-CPAN-DistnameInfo [...] rt.cpan.org
RT-Send-Cc:
On 15 Oct 2003, at 14:58, Guest via RT wrote: Show quoted text
> Hi, > > Great module! It'll definitly be used in CPANXR =)
Good. I am hoping all sites providing CPAN services will so they can cross link easily. Show quoted text
> However, I ran a script that does distname_info on all distributions > in my cpan mirror and I encountered the following: > > - Unicode-Collate-Standard-V3_1_1-0.1.tar.gz seems to be parsed > incorrectly. > > The returned version is 'V3_1_1-0.1' but I expected '0.1'. A quick > look in the source for that module defines the package > Unicode::Collate::Standard::V3_1_1 so I guess the version should be > 0.1.
Yes, well sadly it is based on heuristics and we cannot get everything right. The problem is that V3_1_1 does look like a version number that several people have used for distnames, in fact it probably is the version number of the standard. However having _ - and . in a version does look odd. I will see if I can modify the RE to keep all happy Graham.