in reply to Re^2: seek question
in thread seek question

I understand that, but OP was looping over the file handle which does use $.. I just meant that seek() does not reset this when going back to first row, first column, so that has to be done manually.

I concur that closing/re-opening the handle would have the same effect as $. = 0;.