Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

(Ovid) Re: Orcish Maneuver

by Ovid (Cardinal)
on Dec 06, 2001 at 23:16 UTC ( #130032=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @sorted = sort {
        ( $times{$a} ||= -M $a ) <=>
        ( $times{$b} ||= -M $b )
    } @old_array;
    
  2. or download this
    for ( @old_array ) {
        $times{ $_ } = -M $_;
    }
    
    my @sorted = sort { $times{$a} <=> $times{$b} } @old_array;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2016-06-25 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (325 votes). Check out past polls.