in reply to Redirect Question

Like it was mentioned above, is it possible that your output is buffered? Try adding $| = 1 to the top of your script, see if that helps?

-- zigdon

Replies are listed 'Best First'.
Re: (z) Re: Redirect Question
by jbaribeault (Novice) on Sep 15, 2003 at 16:49 UTC
    Aha! The solution!

    Now, what did that do??? Was I not getting enough input into the buffer for the file write to happen; if so, how much is the buffer usually? Did the $| change the size of the buffer?
    Thanks for the quick fix!!
      AFAIK, the buffer size varies by platform, and by what's the destination. For STDOUT to the terminal, the buffer is usually around 256 bytes, I think. For files, it's probably several K, at least. All $| does it set the buffer to autoflush - see perlvar for details.

      -- zigdon