in reply to "Resetting" a file handle
<code>seek FH,0,0; will put it back to the beginning. Check docs for more arguments, etc. You might also want to check out info on $., which is the current line number of the last filehandle that was read from, written to, or seeked.
Enjoy!
Trinary
|
---|