joshmcbride95 has asked for the wisdom of the Perl Monks concerning the following question:
I have this script, which works fine, and have tried various approaches to delete the records. Can anyone help?open my $in, '<:encoding(utf8)', $filepath_in or die; open my $courier_out_temp, '>:encoding(utf8)', $filepath_out_temp_cour +ier or die; while ( my $row = $csv->getline( $in ) ) { splice @$row, 0, 38; my $status = $csv->combine(@$row); if ($status) { print $courier_out_temp $csv->string(), "\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Delete lines from CSV where column cell value is null
by choroba (Cardinal) on Nov 24, 2018 at 22:59 UTC |