in reply to Modules for comparing version numbers?
I used Sort::Versions in a script that I posted here a few months back. The script is used to find whether or not Garmin has posted a newer firmware update for one of its GPS's, or an update to the Mapsource software. The example should be pretty easy to follow, and though you're not comparing Garmin version numbers, the example should give you an idea of how the module works: Check websites for software version updates (ex. Garmin).
Since then I've used it a few more times to simplify other version-related tasks. It works great. Be sure to read its POD so that you know what to expect the outcome to be with regards to the specific type of version numbers you're comparing.
Dave
|
|---|