in reply to Re^2: Question about warnings and arrays
in thread Question about warnings and arrays

so when i come out of a loop like that, it will close the $FILE for me

Only insofar your filehandle is lexical (using my, not our, as already suggested), and is lexically scoped to that loop's block. So you'd better understand Perl scopes if you want to use this opportunity.