Hi,

I've written some code before which uses the CSV.pm module (has this 
never appeared on CPAN?)  But had to step-through the number of 
quotes and read-in some extra lines to get a full record (where 
linefeeds are embedded in fields.)

That was a terribly memory hog, and entangled with some task-specific 
code (but I'm a better programmer now than I was two years ago.)  So, 
I thought I would take a look at CPAN before I try to round-off this 
square wheel.  From the looks of it, there isn't anything there for 
this.

I looked at Text::CSV_XS and messed with Text::CSV::Simple, but both 
of these seem to want a record to be only on one line.

I couldn't get AnyData::Format::CSV to work using either form of the 
examples (could be that it isn't dying properly on errors?)

Tie::Handle::CSV looked promising, but also chokes on the embedded 
linefeeds.

Any suggestions?  Did I miss something?  I would be happy to subclass 
one of these and rewrite my step-over-linefeeds code into it, but I 
can't help but think it must have been done before.

Thanks,
Eric
-- 
"Matter will be damaged in direct proportion to its value."
                                        --Murphy's Constant

Reply via email to