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
In reply to Re^3: Parse csv file line by line
by Anonymous Monk
in thread Parse csv file line by line
by albascura
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |