in reply to Re^2: An Array without an Index
in thread An Array Without and Index

He said the program runs under strict and warnings.

But the @row = () and the my @row in the while loop are two distinct variables. Since he is not using the first @row, it does not seem to be the cause of his problems.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^4: An Array without an Index
by Anonymous Monk on Aug 13, 2012 at 14:10 UTC

    He said the program runs under strict and warnings ... it does not seem to be the cause of his problems.

    Of course, this is just a symptom ( not coping with scoping ) ; the cause is indeterminable.