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

Text::CSV and Text::CSV_XS are modules to parse or generate CSV data and not to process it, if you want to sort it, either do it in perl after having read all data, or use a module that has a higher level interface, like DBD::CSV or Spreadsheet::Read. Withe the first, you'll order using SQL commnands, with the second, you'll order by traversing a hash.


Enjoy, Have FUN! H.Merijn
  • Comment on Re: How do I sort a CSV file on multiple columns?