[ 源代码: libsort-versions-perl ]
软件包:libsort-versions-perl(1.62-1)
libsort-versions-perl 的相关链接
Debian 的资源:
下载源码包 libsort-versions-perl:
- [libsort-versions-perl_1.62-1.dsc]
- [libsort-versions-perl_1.62.orig.tar.gz]
- [libsort-versions-perl_1.62-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
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