P is for Practical | |
PerlMonks |
Re: Re (tilly) 1: parsing CSV file with embedded commas (fortunately, fixed-width) - is unpack the solution?by amelinda (Friar) |
on Nov 01, 2001 at 03:39 UTC ( [id://122454]=note: print w/replies, xml ) | Need Help?? |
Actually, I'm more interested in how it could handle the unescaped embedded comma in one of the fields. If only splitting (or Text::xSVing) would handle that extraneous comma, i could worry about stripping off the quote marks later. It was the combination the unescaped embedded comma, the unescaped embedded quote, and the fact that only some fields were marked off in quotes that led me down the road to unpack.
In Section
Seekers of Perl Wisdom
|
|