Skip to content
Sections
>> Trisquel >> Pakete >> aramo >> perl >> libsort-key-top-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: 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.

Andere Pakete mit Bezug zu libsort-key-top-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    auch ein virtuelles Paket, bereitgestellt durch libc6-udeb
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    virtuelles Paket, bereitgestellt durch perl-base

libsort-key-top-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
amd64 19,2 kB83 kB [Liste der Dateien]
arm64 18,5 kB75 kB [Liste der Dateien]
armhf 18,3 kB63 kB [Liste der Dateien]
ppc64el 19,9 kB167 kB [Liste der Dateien]