Skip to content
Sections
>> Trisquel >> Pakiety >> aramo >> perl >> libsort-key-top-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: libsort-key-top-perl  ]

Pakiet: 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.

Inne pakiety związane z libsort-key-top-perl

  • wymaga
  • poleca
  • sugeruje
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    również pakiet wirtualny udostępniany przez libc6-udeb
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    pakiet wirtualny udostępniany przez perl-base

Pobieranie libsort-key-top-perl

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
amd64 19,2 KiB83 KiB [lista plików]
arm64 18,5 KiB75 KiB [lista plików]
armhf 18,3 KiB63 KiB [lista plików]
ppc64el 19,9 KiB167 KiB [lista plików]