in reply to Re: How to stream output to html page?
in thread How to stream output to html page?

OK, I'm stupid..my script worked fine after I put "$| = 1;" in it. What does that do??
  • Comment on Re^2: How to stream output to html page?

Replies are listed 'Best First'.
Re^3: How to stream output to html page?
by kyle (Abbot) on Mar 01, 2008 at 19:56 UTC

    $| is also known as $OUTPUT_AUTOFLUSH (if you use English). According to the documentation, "If set to nonzero, forces a flush right away and after every write or print on the currently selected output channel." See perlvar for more.

      cool..thanks to everybody for your help!