Welcome to the Monastery | |
PerlMonks |
Re^6: multicolumn extractionby sauoq (Abbot) |
on Jun 04, 2012 at 20:08 UTC ( [id://974365]=note: print w/replies, xml ) | Need Help?? |
And not of these solutions is actually useful for parsing CSV. True enough! But then, he didn't say it was CSV. He said it was "tab delimited". CSV is a rather more robust format that permits fields in which you can escape your separator, have embedded newlines, etc. "Tab delimited" generally means a file where records are delimited by newlines, fields are delimited by tabs, and fields may not contain newlines or tabs. It's common. And splitting on tabs works very nicely for it without requiring additional dependencies and overhead.
-sauoq "My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
|
|