Subject: | Bogus version number '33' in 1.17 |
I was playing with 'r' at the cpan prompt and saw this:
(22:55:41) dandv: "Array::Compare 1.15 33
DAVECROSS/Array-Compare-1.17.tar.gz" - but
http://search.cpan.org/dist/Array-Compare shows 2.0 as the latest. How
reliable is this 'r' thing?
(22:56:40) rafl: it's pretty good, unless the author or the indexer
screws something up
(22:56:53) rafl: the latter is very rare. the former happens every now
and then
(22:57:51) dandv: I checked that module's source. there is no '33' anywhere
(22:58:35) hobbs: dandv: there is in the 1.17 revision of the module
(22:58:45) hobbs: ($VERSION) = '$Id: Compare.pm 33 2008-12-18 11:34:24Z
dave $' =~ /(\d+)/;
(22:58:48) hobbs: (oops)
(22:59:13) hobbs: so, 1.18 and 2.00 are newer and exist, but the indexer
says "no! I saw a 33!"
(22:59:39) rafl: heh. i was just about to paste that as well
(22:59:46) rafl: yeah, that's where the author screwed up
(23:00:12) rafl: the indexer finds version 33 in 1.17. 1.20 (the dist)
has the same module with a lower version
(23:00:22) hobbs: I think if he were to delete the 1.17 tarball, and
then use the "reset version" button in PAUSE, it would fix it. I think
that's what it's there for. :)
(23:00:27) rafl: and 'r' asks for the latest version of a module
(23:00:31) rafl: and that's what you'll get