in reply to Glob seekpointer

If what you want is to reset the FIELDS file handle to start reading from the begining of the file you seek the seek function

try putting in a

seek(FIELDS, 0, 0);
before the 'last'

Replies are listed 'Best First'.
Re^2: Glob seekpointer
by tilly (Archbishop) on Feb 25, 2005 at 05:53 UTC
    I think that the question is very clear. He wants the glob to restart from the beginning of his directories every time he breaks out of the inner loop. Resetting FIELDS is a useless change that will not help.