in reply to Re^2: Parse csv file line by line
in thread Parse csv file line by line

If you employ Basic debugging checklist , brian's Guide to Solving Any Perl Problem, CGI Help Guide , Troubleshooting Perl CGI scripts

You should discover that your have a newline issue

See