libsort-key-top-perl - Perl module to select and sort top n elements of a list

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libsort-key-top-perl
Package version: 0.08
Package release: 1+b1
Package architecture: amd64
Package type: deb
Installed size: 129 B
Download size: 19.65 KB
Official Mirror:
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.



    Source package: libsort-key-top-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libsort-key-top-perl deb package:
      # sudo apt-get install libsort-key-top-perl


    • /usr/lib/x86_64-linux-gnu/perl5/5.20/Sort/Key/
    • /usr/lib/x86_64-linux-gnu/perl5/5.20/auto/Sort/Key/Top/
    • /usr/share/doc/libsort-key-top-perl/changelog.Debian.amd64.gz
    • /usr/share/doc/libsort-key-top-perl/changelog.Debian.gz
    • /usr/share/doc/libsort-key-top-perl/changelog.gz
    • /usr/share/doc/libsort-key-top-perl/copyright
    • /usr/share/man/man3/Sort::Key::Top.3pm.gz


    2014-07-23 - Andreas Tille <> libsort-key-top-perl (0.08-1) unstable; urgency=low [ Laszlo Kajan ] * Updated watch file according to pkg-perl team guidelines. * Added more to the long description. * Corrected copyright info. * Removed non-policy-compliant get-orig-source target. [ Andreas Tille ] * New upstream version * Increased dh compatibility level to 9. * cme fix dpkg-control

    2012-06-06 - Laszlo Kajan <> libsort-key-top-perl (0.06-1) unstable; urgency=low * Initial release (Closes: #676384)