in reply to Using File::ReadBackwards or equivalent on pre-existing file handle

I don't see why that wouldn't work. File::ReadBackwards seems to just open a file, there should be no reasons why Perl can't have multiple filehandles for one file. Did you try?
  • Comment on Re: Using File::ReadBackwards or equivalent on pre-existing file handle

Replies are listed 'Best First'.
Re^2: Using File::ReadBackwards or equivalent on pre-existing file handle
by HYanWong (Acolyte) on Jun 25, 2014 at 22:47 UTC

    Thanks. Good point, but I have tried it, and it doesn't seem to work. I was also hoping to reuse the same file handle, since I already have it open, which saves having to check twice for success on opening, and (I presume) closing two filehandles. Seems better to avoid the possibility of someone deleting the file between the first and the second open calls, by simply having one "open".