in reply to Re^3: Best Way To Parse Concordance DAT File Using Modern Perl?
in thread Best Way To Parse Concordance DAT File Using Modern Perl?
Thanks, graff!
The problem with having to handle the BOM oneself is that, though it works with Text::CSV_XS-parse(), it doesn't work with Text::CSV_XS->getline().
Suppose we have this multi-line CSV record. There's a literal newline in field five.
my $csv_record = qq{\N{BYTE ORDER MARK}"Field One","Field 2",3,4,"Fiel +d Five" };
How would one parse this record using Text::CSV_XS?
(See the companion thread titled Peculiar Reference To U+00FE In Text::CSV_XS Documentation for more information about this topic.)
Jim
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Best Way To Parse Concordance DAT File Using Modern Perl?
by graff (Chancellor) on Dec 11, 2012 at 07:22 UTC | |
by Anonymous Monk on Dec 11, 2012 at 07:40 UTC |
In Section
Seekers of Perl Wisdom