Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Sorting a "tuple" by the second value

by johngg (Canon)
on Apr 09, 2012 at 12:22 UTC ( [id://964115]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    knoppix@Microknoppix:~$ cat spw964070.in
    abc peter
    ...
    abc peter
    ghi zak
    knoppix@Microknoppix:~$
    
  2. or download this
        ...
        return \ @links;
    ...
        my $refToLinks = get_links();
        my @sorted_links = sort { $a->[1] cmp $b->[1] } @$refToLinks;
        ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found