This:
is just wrong. Either you read the file line by line with a while loop, or you "slurp" it into an array, but don't do both. The you are constructing a @a array and print $a, a scalar variable. The following pragmas:while (<FILE>) { @array = <FILE>;
would have picked up these errors.use strict; use warnings;
In reply to Re^3: problem with deleting a row
by Laurent_R
in thread problem with deleting a row
by brianMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |