Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libsort-versions-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libsort-versions-perl  ]

套件: libsort-versions-perl (1.62-1)

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

其他與 libsort-versions-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libsort-versions-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 9.1 kB23 kB [文件列表]