Skip to content
Sections
>> Trisquel >> Paketler >> aramo >> perl >> libsort-key-top-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Kaynak: libsort-key-top-perl  ]

Paket: libsort-key-top-perl (0.08-4build1)

Perl module to select and sort top n elements of a list

The functions available from this module select the top n elements from a list using several common orderings and custom key extraction procedures.

They are all variations around 'keytopsort { CALC_KEY($_) } $n => @data;'.

In array context, this function calculates the ordering key for every element in @data using the expression inside the block. Then it selects and orders the $n elements with the lower keys when compared lexicographically.

In scalar context, the value returned by the functions on this module is the cutoff value allowing to select nth element from the array.

libsort-key-top-perl ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    ayrıca şunun tarafından sağlanan bir sanal paket libc6-udeb
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    sanal paketi sağlayan perl-base

libsort-key-top-perl indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
amd64 19,2 kB83 kB [dosya listesi]
arm64 18,5 kB75 kB [dosya listesi]
armhf 18,3 kB63 kB [dosya listesi]
ppc64el 19,9 kB167 kB [dosya listesi]