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

Re: How do I sort a CSV file on multiple columns?

by redgreen (Priest)
on Dec 09, 2009 at 18:42 UTC ( #811998=note: print w/ replies, xml ) Need Help??


in reply to How do I sort a CSV file on multiple columns?

Text::CSV is only for reading for reading/writing CSV files. If you want to have them sorted, I would suggest using DBD::CSV with the DBI interface.

Update:Since they were interested in reading the CSV sorted, I forgot that Text::CSV does more then just reading. Thanks kennethk.


Comment on Re: How do I sort a CSV file on multiple columns?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://811998]
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: (12)
As of 2015-07-31 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls