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;.
In reply to Re^3: seek question
by stevieb
in thread seek question
by natxo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |