Date: | Sun, 25 Jul 2004 15:18:26 +0200 |
From: | Lars Thegler <lars [...] thegler.dk> |
To: | bug-Module-CoreList [...] rt.cpan.org |
Subject: | [PATCH] Prevent loss of underscores and trailing zeroes |
A number of version numbers are mangled, due to them not being
properly quoted.
This occurs for version numbers with trailing zeroes:
--cut--
$ corelist -a Thread
Thread was first released with perl 5.005
5.005 1.0
5.00503 1
5.006 1.0
5.006001 1
5.007003 2.00
[...]
--cut--
where the versions bundled with 5.6.0 and 5.6.1 are in fact identical,
and for version numbers with embedded underscores:
--cut--
$ corelist -a CPAN
CPAN was first released with perl 5.004
5.004 1.2401
5.00405 1.40
5.005 1.3901
5.00503 1.48
5.00504 1.48
5.006 1.52
5.006001 1.5954
5.006002 1.59_54
5.007003 1.59_56
[...]
--cut--
where the version bundled with 5.6.1 and 5.6.2 are identical.
The attached patch fixes these anomalies, by quoting all version
numbers with embedded underscores and trailing zeroes.
/Lars
Message body is not shown because sender requested not to inline it.