print $FILE "$data[0]\t$data[-1]\t", scalar @data, "\n" if @data > 1;
after the while loop. This depends on how your file is terminated - your code will function correctly if it is terminated with two or more newlines.
In reply to Re^2: check for contiguous row values
by kennethk
in thread check for contiguous row values
by gudluck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |