Since you are new to coding my guess is because @columnsA (or whatever) has only 2 elements while your code thinks there are three. Arrays are indexed from zero upwards, not from one.
In reply to Re^5: Error opening file handle within while loop (uninitialized value in array)
by hippo
in thread Error opening file handle within while loop
by rjc33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |