![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: TexT::CSV and getlineby swl (Priest) |
on Nov 04, 2020 at 21:03 UTC ( #11123409=note: print w/replies, xml ) | Need Help?? |
GrandFather has answered the question, so this just another data point. Text::CSV returns undef when it is passed incorrect arguments. If you had added a print for the $csv as well as $fh then this would have come up as a warning about printing an undefined value. Or you could have added:
This is one of those things that is much clearer in hindsight.
In Section
Seekers of Perl Wisdom
|
|