Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Alternative to sort Hash

by soonix (Canon)
on Dec 06, 2019 at 14:11 UTC ( #11109751=note: print w/replies, xml ) Need Help??


in reply to Re: Alternative to sort Hash
in thread Alternative to sort Hash

Less code is not necessarily better code
True, but OP's %voices looks like it's generated from something like {map {$_ => $n++} @list_of_voices} which (in my eyes) is unnecessary, especially as he uses List::Util, already.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11109751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-06-02 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (13 votes). Check out past polls.

    Notices?