The program always prints out 1,2 but never gets to 3. I've tried using Tie::Handle::CSV but it gets the same result. Can anyone help?#!/usr/local/bin/perl use warnings; print "1\n"; open((IN),"<dev.csv"); print "2\n"; while (($read)=<IN>) { print "3\n"; chomp($read); @lst = split(/\t/,$read); print "$lst[1]"; } close(IN);
In reply to Reading a CSV file by alchang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |