|Pathologically Eclectic Rubbish Lister|
Which CSV - Module is my favourite?by Ben Win Lue (Friar)
|on Jan 18, 2006 at 08:43 UTC||Need Help??|
Ben Win Lue has asked for the
wisdom of the Perl Monks concerning the following question:
Hi everbody out there!
I have to parse some simple CSV-Files. Text::CSV seems to be my friend, except that here in Germany most CSV-Files are separated by semicolons, since a comma is the standard decimal point here. ( I don't know if this was a microsoft idea, but it became more and more normal in the past 10 years).
Is there a way to set the separator character in Text::CSV?
If not, what else would be worth a look?
The files are quite simple, may be should just use split and get rid of the leading and trailing quotes?
Thanks a lot!