Welcome to the Monastery | |
PerlMonks |
Re^2: Concerning Text::CSV_XS getline in while loopby freddo411 (Chaplain) |
on Dec 21, 2004 at 22:45 UTC ( [id://416649]=note: print w/replies, xml ) | Need Help?? |
getline() returns an empty arrayref when it runs out of lines in the file so you need to check for an arrayref with no elements.Makes sense. Oh, and thanks for the pointing getline() out to me. -------------------------------------
In Section
Seekers of Perl Wisdom
|
|