The goal is to find out if any columns in a CSV have no data. The
number of columns will be unknown.
Here's how I'm getting the file into an array @recs.
open MIL, $mil or die "Cannot open input file for read :$!";
Example CSV file with elements,elements,elements without data:
I can't figure out how to loop through the array and sum the columns.
If I can loop through, I'll use this: $l=$l+length($recs[$i]); and if
it has a zero value, then that column has no values.
I've tried foreach but that seems to make an element out of a record.
Any help appreciated.