Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> perl >> libsort-key-top-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : libsort-key-top-perl  ]

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

Autres paquets associés à libsort-key-top-perl

  • dépendances
  • recommandations
  • suggestions
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    un paquet virtuel est également fourni par libc6-udeb
    dep: libc6 (>= 2.4) [amd64, armhf]
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    paquet virtuel fourni par perl-base

Télécharger libsort-key-top-perl

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
amd64 19,2 ko83 ko [liste des fichiers]
arm64 18,5 ko75 ko [liste des fichiers]
armhf 18,3 ko63 ko [liste des fichiers]
ppc64el 19,9 ko167 ko [liste des fichiers]