Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: sorting entires by date

by jweed (Chaplain)
on Jan 01, 2004 at 23:15 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://318188]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-23 20:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found