all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: libsort-key-top-perl  ]

Package: libsort-key-top-perl (0.08-4 and others)

Links for libsort-key-top-perl

Screenshot

Debian Resources:

Download Source Package libsort-key-top-perl:

Maintainers:

External Resources:

Similar packages:

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.

Tags: Software Development: Perl Development, Libraries, Implemented in: implemented-in::c, implemented-in::perl, Role: Development Library

Other Packages Related to libsort-key-top-perl

  • depends
  • recommends
  • suggests
  • enhances

Download libsort-key-top-perl

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 0.08-4+b5 19.0 kB81.0 kB [list of files]
arm64 0.08-4+b6 18.3 kB105.0 kB [list of files]
armel 0.08-4+b6 18.5 kB77.0 kB [list of files]
armhf 0.08-4+b6 18.3 kB69.0 kB [list of files]
i386 0.08-4+b5 19.8 kB85.0 kB [list of files]
mips64el 0.08-4+b6 17.9 kB107.0 kB [list of files]
ppc64el 0.08-4+b5 19.3 kB105.0 kB [list of files]
riscv64 0.08-4+b3 19.4 kB77.0 kB [list of files]
s390x 0.08-4+b5 19.5 kB81.0 kB [list of files]