in reply to insert null in missing places of csv
#!/usr/bin/perl use warnings; use strict; use Text::CSV_XS; my $csv = 'Text::CSV_XS'->new({binary => 1}); open my $CSV, '<', shift or die $!; while (my $row = $csv->getline($CSV)) { $csv->say(\*STDOUT, [ map length ? $_ : 'NULL', @$row ]); }
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: insert null in missing places of csv
by Tux (Canon) on Feb 19, 2016 at 13:51 UTC | |
by ukhare (Novice) on Feb 20, 2016 at 07:53 UTC | |
by Tux (Canon) on Feb 20, 2016 at 10:52 UTC | |
by hippo (Archbishop) on Feb 20, 2016 at 09:38 UTC | |
by ukhare (Novice) on Feb 20, 2016 at 10:12 UTC | |
by poj (Abbot) on Feb 20, 2016 at 10:48 UTC | |
by choroba (Cardinal) on Feb 20, 2016 at 18:08 UTC | |
by AnomalousMonk (Archbishop) on Feb 20, 2016 at 15:34 UTC |