If you use a decent module to *parse* CSV, why not also use a decent module to *produce* CSV?
If Tie::Array::CSV, which uses mod::Text::CSV for parsing, has problems with blank lines, consider Spreadsheet::Read, which uses Text::CSV_XS. Both background parsers should have no problem with empty lines.
In reply to Re^2: Compare and group unmatched records from 2 CSV files together
by Tux
in thread Compare and group unmatched records from 2 CSV files together
by KIASohc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |