Tie::Handle::CSV and newlines

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
using Text::CSV_XS with the 'binary' option, I can create a CSV file
which contains fields which have newlines.

Excel will read that file just fine.

When trying to read back such a file using Tie::Handle::CSV,
even when specifying the 'binary' option, the
program barfs when it encounters the first line which
contains a field crossing a newline.

Is there any reliable way to be able to create and read
back files CSV files which include fields with newlines?


Re: Tie::Handle::CSV and newlines

On 02/01/2007 12:47 AM, Mathias Krber wrote:
Quoted text here. Click to load it

http://search.cpan.org/~danboo/Tie-Handle-CSV-0.05/lib/Tie/Handle/CSV.pm :

Quoted text here. Click to load it

Windows Vista and your freedom in conflict:
http://www.regdeveloper.co.uk/2006/10/29/microsoft_vista_eula_analysis /

Re: Tie::Handle::CSV and newlines

Mumia W. (NOSPAM) wrote:
Quoted text here. Click to load it

tried  that with the binary option too. no luck.

had to resort to using Text::CSV_XS directly to make it work. Hmm

Site Timeline