Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Sort over remaining part of array

by monkini (Initiate)
on Nov 12, 2013 at 09:37 UTC ( [id://1062160]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @AoA = (
               [ 0.5, "b1", "c0" ],
    ...
               [ 0.3, "b3", "c3" ],
               [ 0.6, "b3", "c4" ],
     );
    
  2. or download this
    my @sorted =  sort @AoA; #sort on $a
    my %seen = ();
    ...
            # sort remaining array, from now on... and proceed analyzing l
    +ine by line
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-16 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found