Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by redgreen (Curate)
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 examining the Monastery: (12)
As of 2014-12-22 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls