Problems? Is your data what you think it is? | |
PerlMonks |
Re: One-line CSV Parserby idsfa (Vicar) |
on Apr 04, 2008 at 14:10 UTC ( [id://678369]=note: print w/replies, xml ) | Need Help?? |
CSV as defined by RFC 4180 does not "escape" double quotes with a backslash, but rather by an additional set of double quotes. Your parser fails to handle this format properly. CSV is hard. The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
In Section
Cool Uses for Perl
|
|