in reply to The Problem & My Solution (please comment)
in thread Tar File To Web Browser

I think a more correct solution (and this isn't something you or I really need to worry about, but the author), might be to do a test against $fh to see if it is pointing to STDOUT, and if so, ignore the seek entirely. I can't think of any cases off the top of my head where a failed seek would be a bad thing in this place, so it might be perfectly OK to simply disregard the return value of this function and let it fail silently if it needs to.
  • Comment on Re: The Problem & My Solution (please comment)

Replies are listed 'Best First'.
Re (tilly) 2: The Problem & My Solution (please comment)
by tilly (Archbishop) on Dec 11, 2000 at 03:53 UTC
    Are there any cases where a failed seek would be bad?