Hello,

I am wondering what the perl-best-practice approach to sorting version
numbers might be.

I am looking at strings like "4.0.0.10", "4.0.0.9", "4.0.1.0", etc
and I need to determine the "highest", in this case 4.0.1.0.

Previous experience suggests splitting each of these into a list of numbers
and then comparing two "versions" by comparing each component number
until a winner is found.

Is there an existing (semi-built-in?) solution to this problem?

TIA for any pointers?

Christopher

-- 
There are only 10 types of people in the world:
Those who understand binary and those who don't.
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to