in reply to Flushing the print buffers.

Read Suffering from Buffering and get back to us on whether you can figure out your problem, and whether you understand buffering issues better.

(Random hint, you're probably writing to STDOUT, so replace OUTPUT_HANDLE with STDOUT in your snipppet.)

Replies are listed 'Best First'.
Re^2: Flushing the print buffers.
by Anonymous Monk on Nov 17, 2010 at 22:26 UTC
    Yes... almost three years later, your post helped a struggling perl scripter... Just wanted to say thanks for the suffering from buffering! Helped a lot. :-j