Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
A problem with Text::CSVby lihao (Monk) |
on Mar 26, 2008 at 20:08 UTC ( [id://676520]=perlquestion: print w/replies, xml ) | Need Help?? |
lihao has asked for the wisdom of the Perl Monks concerning the following question: hello, monks I got a weird problem when using Text::CSV to process a list of 119880 records/lines saved in in.csv, the code I am using is as follows:
By running this code, I got only 119606 records in out.txt.. so how can I detect the 274 missing records. or are there any robust ways to grab records from a CSV file and process its fields within a while loop. BTW. I used wc -l filename to count the number of lines contained in filename. Thanks lihao
Back to
Seekers of Perl Wisdom
|
|