If there are no errors but the loop ends unexpectedly, have you checked to see that the loop conditional is what you expect?
In reply to Re^3: fetchrow_array loop in perl 5.10
by mr_mischief
in thread fetchrow_array loop in perl 5.10
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |