in reply to csv parsing with multiple missing values/multiple commas
You should enable warnings and actually look at them.
if($str_check = undef)
This check is never true and always overwrites $str_check.
I'm not sure whether your problems are actually related to the code you've shown. The problems seem to be mostly data and logic related. Please help us help you better and show us the loop where you process your data, the warnings and errors you get and the output you expect.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: csv parsing with multiple missing values/multiple commas
by f77coder (Beadle) on Aug 02, 2014 at 15:30 UTC | |
by Corion (Patriarch) on Aug 02, 2014 at 16:44 UTC | |
by f77coder (Beadle) on Aug 02, 2014 at 17:55 UTC | |
by Corion (Patriarch) on Aug 02, 2014 at 21:52 UTC |