in reply to Re: Huge simple problemin thread Huge simple problem
#1 use warnings; would have spewed many warnings which may have lead you to your problem.
#2 print "i = $i\n"; inside your for loop