Re: Text::CSV_XS

2003-07-04 Thread Chisel Wright
On Fri, Jul 04, 2003 at 06:54:52PM +0200, Robin Berjon wrote: > I thought about it because CSV is a terrible, terrible format and I got > bitten by it badly much more than once. Baah. For tiny databases, > DBD::SQLite is *much* better. Heck, as much as I bitch about people > misusing XML for a s

Re: Text::CSV_XS

2003-07-04 Thread Robin Berjon
Chisel Wright wrote: On Fri, Jul 04, 2003 at 06:02:23PM +0200, Robin Berjon wrote: The default escape char is ", have you tried to set it to undef or the empty string? It looks as if it's escaping \t and \n setting escape_char to undef seems to do exactly what I was expecting it to do before. why

Re: Text::CSV_XS

2003-07-04 Thread Chisel Wright
On Fri, Jul 04, 2003 at 06:02:23PM +0200, Robin Berjon wrote: > The default escape char is ", have you tried to set it to undef or the > empty string? It looks as if it's escaping \t and \n setting escape_char to undef seems to do exactly what I was expecting it to do before. why didn't I try th

Re: Text::CSV_XS

2003-07-04 Thread Robin Berjon
Chisel Wright wrote: I've had a quick google and can't find anything mentioned out there, so I thought I'd ask the other hackers out there if they've had any problems with Text::CSV_XS. $csv = Text::CSV_XS->new({ 'binary'=> 1,

Text::CSV_XS

2003-07-04 Thread Chisel Wright
I've had a quick google and can't find anything mentioned out there, so I thought I'd ask the other hackers out there if they've had any problems with Text::CSV_XS. Let me explain; I've got a text file, where the fields are TAB-separated, and there isn't any quo