Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Sort rows in a csv file based on a date column

by linuxer (Curate)
on Apr 08, 2009 at 17:27 UTC ( #756395=note: print w/replies, xml ) Need Help??


in reply to Sort rows in a csv file based on a date column

How do you want it to be sorted?

Lexically by the column content? (your example looks like that)

Sorted by date (1. by month, 2. by day, 3. by year) and it was coincidence, that all dates are on a monday?

moritz already mentioned Text::CSV and sort on the Chatterbox.

I, personally, thought about a solution using DBD::CSV

What's your current problem? To read the docs? To write the code?

What do you expect us the monks to do?

Regards,
Linuxer

  • Comment on Re: Sort rows in a csv file based on a date column

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://756395]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-12-10 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (159 votes). Check out past polls.