- or download this
my @tokens = split /\t+/; # split on one or more consecutive tabs
- or download this
elsif ((scalar @tokens) == 6) { # if there are 6 fields (and 3 ar
+e empty)
- or download this
use strict;
use warnings;
...
warn "Input line $. ignored: $_\n";
}
}