CPAN.pm version number confusion

jdavidb on 2002-09-10T13:35:06

cpan> r

Package namespace         installed    latest  in CPAN file
Crypt::RSA::ES::PKCS1v15       1.10       1.9  V/VI/VIPUL/Crypt-RSA-1.46.tar.gz
Crypt::RSA::Key                1.13       1.8  V/VI/VIPUL/Crypt-RSA-1.37.tar.gz
111 installed modules have no parseable version number

So which version do I actually want installed? :)


Schoolboy mistake

Matts on 2002-09-10T14:56:31

I did this with Win32::ASP, one of my first modules. I got a nice letter from Andreas correcting my usage of version numbers. I suspect he doesn't have time to mail everyone though.

Basically, perl (or rather CPAN.pm) treats them as real numbers, not "minor.major", as I was used to. So you probably want x.10, even though CPAN thinks x.9 is newer.

Also...

lachoy on 2002-09-10T19:53:54

It's nice to email the author about this, as merlyn has done -- a couple times! -- for me. Point them here if they need to use better methods for creating versions from CVS revision tags.