Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Filtering rows with Parse::CSVby Anonymous Monk |
on Mar 27, 2017 at 18:02 UTC ( [id://1186108]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello, and thanks in advance for your help.
I'm attempting to get all rows from a CSV file where a specific column is not null. Unfortunately, I'm only getting 1 row back. For example, I'd like only rows 5, 7, and 9 to be printed.
row 1-4 : myColumn is null My expected results are:
Instead, my results are: Here's the code I am using:
Back to
Seekers of Perl Wisdom
|
|