seek FILEHANDLE, 0, 0; [download]
In reply to Re: "Resetting" a file handle by kilinrax in thread "Resetting" a file handle by DeusVult