in reply to Re^2: csv parsing with multiple missing values/multiple commas
in thread csv parsing with multiple missing values/multiple commas
So maybe you can also show us line 91?
Most likely, you have something like:
my $cell= $row->[ 10 ]; if( $cell == 42 ) { ... }
You could fix this by conditionally setting $cell to zero:
my $cell= $row->[ 10 ]; $cell ||= 0; if( $cell == 42 ) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: csv parsing with multiple missing values/multiple commas
by f77coder (Beadle) on Aug 02, 2014 at 17:55 UTC | |
by Corion (Patriarch) on Aug 02, 2014 at 21:52 UTC |