in reply to "Resetting" a file handle
You probably want to take a look at seek.
will reset a filehandle to the beginning of the file.seek FILEHANDLE, 0, 0;
|
---|
In Section
Seekers of Perl Wisdom