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.
In reply to Re: csv parsing with multiple missing values/multiple commas
by Corion
in thread csv parsing with multiple missing values/multiple commas
by f77coder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |