Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: sort array

by Kenosis (Priest)
on Apr 30, 2012 at 20:27 UTC ( #968146=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    map{print "$_->[0]\n"}
    sort {$a->[1] cmp $b->[1]}
    map{[$_, (split)[2]]}
    @lines;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968146]
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: (6)
As of 2014-04-21 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls