|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Sorting a CSV fileby rsiedl (Friar) |
| on Jul 16, 2006 at 23:39 UTC ( [id://561645]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Hi, You might want to look at Text::CSV for parsing your csv file. It could make things a bit simpler. And then, as McDarren says, Date::Calc would be quite helpful for your sort. Perhaps convert it to a unixtime format and then perform the sort. A sort sub to get the job done:
Cheers.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||