Thus, I think that my website is correct in sorting the version
numbers. 1.2 should be later than 1.18. I think your versioning system
is wrong ;-)

Ok as this is not *my* versioning system, I will explain. I use CVS, and extract version from something like:

$VERSION = ('$Revision: 1.18 $ ' =~ /(\d+\.\d+)/)[0];

I don't remember where I see this first time.

But after a google search, it seems I must do in fact:

$VERSION = sprintf("%d.%02d", q$Revision ... $);



Reply via email to