in reply to Escaping data for CSV files

The most powerful tool of Perl is CPAN, there you can find Text::CSV that does exactly what you need.

Ciao, Valerio

Replies are listed 'Best First'.
Re: Re: Escaping data for CSV files
by Anonymous Monk on Jun 21, 2003 at 13:00 UTC

    It's still at version 0.01 and was released in 1997? Have you found it to be stable? Thanks.

      CPAN Testers says that the module passes all tests, but there is also a known bug, you can see it on Text::CSV page. I don't know if the module is still being mantained by its author.

      Ciao, Valerio

      Yup, I use it pretty regularly and it works fine for most things. It can get slow parsing large records (large = 1000s of characters), but I haven't found any bugs or other "instabilities" with it.

      -Tats