Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: sorting entires by date

by jweed (Chaplain)
on Jan 01, 2004 at 23:15 UTC ( #318188=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @file = map { $$_[0] } 
            sort { $$a[1] <=> $$b[1] }
            map { [$_, (split /:/)[3] ] } @file;
    
  2. or download this
    @file = map { join ':', (split /:/)[1,2,3,0] }
            sort
            map { join ':', (split /:/)[3,0,1,2] } @file;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://318188]
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: (10)
As of 2014-08-01 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (8 votes), past polls