perl-Sort-HashKeys - Get a sorted-by-key list from a hash

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Sort-HashKeys-0.007-alt2.1.x86_64.rpm
Package name perl-Sort-HashKeys
Package version 0.007
Package release alt2.1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 44.14 KB
Installed size 44.14 KB
[13:37:51]  <a3f>_Is there a better way to get a sorted list out of a hash
than map { ($_, $versions{$_}) } reverse sort keys @versions
or iterating manually?
[13:39:06]  <a3f>_oh I could provide a compare function to sort and chunk the
list two by two..
[13:40:15]  <haarg>_i'd probably go with the map{} reverse sort keys
[13:41:04]  <a3f>_I don't like it that it repeats the lookup for all keys.
Of course wouldn't matter in practice but still.eI
[13:43:40]  <haarg>_whatever other solution you find will be slower
[13:49:05]  <a3f>_put it into a list, pass it to XS, run qsort(3) over it
with double the element size. and compare taking only the
first part into account. return it back?


Package Version Architecture Repository
perl-Sort-HashKeys-0.007-alt2.1.i586.rpm 0.007 i586 Autoimports
perl-Sort-HashKeys - - -


Name Value
/usr/lib64/perl5 - - - -
perl( -
perl( -
perl( -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Sort/ = 0.007
perl(Sort/ -
perl-Sort-HashKeys = 0.007-alt2.1


Type URL
Binary Package perl-Sort-HashKeys-0.007-alt2.1.x86_64.rpm
Source Package perl-Sort-HashKeys-0.007-alt2.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] x86_64 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Sort-HashKeys rpm package:
    # sudo apt-get install perl-Sort-HashKeys



See Also

Package Description
perl-Sort-Key-Domain-0.01-alt4.1.x86_64.rpm Sort domain names
perl-Sort-Key-IPv4-0.03-alt4.1.x86_64.rpm sort IP v4 addresses
perl-Sort-Key-LargeInt-0.01-alt4.1.x86_64.rpm perl module Sort-Key-LargeInt
perl-Sort-Key-Merger-0.08-alt4.1.x86_64.rpm perl module Sort-Key-Merger
perl-Sort-Key-OID-0.05-alt4.1.x86_64.rpm sort OIDs very fast
perl-Sort-Key-Radix-0.14-alt4.1.x86_64.rpm Radix sort implementation in XS
perl-Sort-Key-Top-0.08-alt4.1.x86_64.rpm select and sort top n elements
perl-Sort-Naturally-ICU-0.7.8-alt3.x86_64.rpm Perl extension for human-friendly ("natural") sort order
perl-Sort-Naturally-XS-0.7.9-alt1.1.x86_64.rpm Perl extension for human-friendly ("natural") sort order
perl-Sort-Packed-0.08-alt4.1.x86_64.rpm perl module Sort-Packed
perl-Sort-XS-0.30-alt4.1.x86_64.rpm a ( very ) fast XS sort alternative for one dimension list
perl-Sourcecode-Spellchecker-0.03-alt4.1.x86_64.rpm Detects common misspellings in source code and suggests corrections
perl-Speech-eSpeak-0.4-alt4.1.x86_64.rpm Perl extension for eSpeak text to speech
perl-StackTrace-HiPerf-0.01-alt4.1.x86_64.rpm High performance stacktraces
perl-Starlink-AST-1.02-alt4.1.x86_64.rpm Interface to the Starlink AST library