Don't ask to ask, just ask | |
PerlMonks |
Embedded unescaped quotes in quoted fieldsby Wally Hartshorn (Hermit) |
on Jun 15, 2004 at 13:56 UTC ( [id://366890]=note: print w/replies, xml ) | Need Help?? |
The data is like type #1, unfortunately. It would be something like this: "Smith","John",12/31/1962,"Author of "How to Break Programs" and other books","Bugger"I'm using a series regexes to change that to: "Smith","John",12/31/1962,"Author of ""How to Break Programs"" and other books","Bugger"It would be nice if the user just gave us a valid CSV file to begin with, but.... Thanks, and sorry for the confusion! Wally Hartshorn
In Section
Seekers of Perl Wisdom
|
|