alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: libsort-key-top-perl  ]

Paket: libsort-key-top-perl (0.08-4 och andra)

Länkar för libsort-key-top-perl

Screenshot

Debianresurser:

Hämta källkodspaketet libsort-key-top-perl:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Märken: Software Development: Perl Development, Bibliotek, Implemented in: implemented-in::c, implemented-in::perl, Role: Development Library

Andra paket besläktade med libsort-key-top-perl

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libsort-key-top-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Version Paketstorlek Installerad storlek Filer
armel 0.08-4+b3 18,3 kbyte105,0 kbyte [filförteckning]