Difference between revisions of "Sort-Versions"
(Added Debian link) |
(Perl (Ref)) |
||
Line 15: | Line 15: | ||
(a hyphen binds looser than a period) 1-1 < 1-2 1-2 < 1.2 | (a hyphen binds looser than a period) 1-1 < 1-2 1-2 < 1.2 | ||
|Homepage URL=https://metacpan.org/release/Sort-Versions | |Homepage URL=https://metacpan.org/release/Sort-Versions | ||
+ | |Is High Priority Project=No | ||
|Computer languages=Perl | |Computer languages=Perl | ||
+ | |Decommissioned/Obsolete=No | ||
|Accepts cryptocurrency donations=No | |Accepts cryptocurrency donations=No | ||
|Version identifier=1.60-1 | |Version identifier=1.60-1 | ||
|Version download=http://ftp.debian.org/debian/pool/main/libs/libsort-versions-perl/libsort-versions-perl_1.60.orig.tar.gz | |Version download=http://ftp.debian.org/debian/pool/main/libs/libsort-versions-perl/libsort-versions-perl_1.60.orig.tar.gz | ||
+ | |Test entry=No | ||
|Last review by=Bendikker | |Last review by=Bendikker | ||
− | |Last review date=2018/ | + | |Last review date=2018/04/11 |
|Submitted date=2015-07-17 | |Submitted date=2015-07-17 | ||
|Is GNU=No | |Is GNU=No | ||
Line 41: | Line 44: | ||
}} | }} | ||
{{Resource | {{Resource | ||
− | |Resource | + | |Resource audience=Perl (Ref) |
|Resource URL=https://metacpan.org/release/Sort-Versions | |Resource URL=https://metacpan.org/release/Sort-Versions | ||
}} | }} |
Latest revision as of 12:10, 11 April 2018
Sort-versions
https://metacpan.org/release/Sort-Versions
Perl module for sorting of revision (and similar) numbers
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
Download
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: gregor herrmann <gregoa@debian.org>
Verified on
15 June 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Neil Bowers | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Debian (Ref) (R) | https://tracker.debian.org/pkg/libsort-versions-perl | |
Perl (Ref) | https://metacpan.org/release/Sort-Versions |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.