Subject: | when reading delimited file it chokes on the last line if there is and empty line |
when reading delimited file it chokes on the last line if there is and empty line
if data file was
======Datafile====
123,12312,12312,123
434,3434,334,434
==================
it would fail on the last line
saying
Use of uninitialized value in substitution (s///) at /usr/local/share/perl/5.8.3/Text/Delimited.pm line 152, <GEN0> line 3.
Use of uninitialized value in split at /usr/local/share/perl/5.8.3/Text/Delimited.pm line 153, <GEN0> line 3.