Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
XP is just a number
 
PerlMonks  

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

by linuxer (Deacon)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2014-04-21 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (490 votes), past polls