libsort-versions-perl

Perl module for sorting of revision (and similar) numbers

Description

The Sort::Versions module allows easy sorting (via comparisons) of mixed text and numeric strings, similar to the complex "version numbers" that many revision control packages and shared library systems use. For an explanation of the algorithm, it's easiest to look at these examples:

 1.1 < 1.2
 1.1a < 1.2
 1.1 < 1.1.1
 1.1 < 1.1a
 1.1.a < 1.1a
 1 < a
 a < b
 1 < 2

 (special handling for leading zeros)
 0002 < 1
 1.06 < 1.5

 (a hyphen binds looser than a period)
 1-1 < 1-2
 1-2 < 1.2

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Sort-Versions


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libsort-versions-perl

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more