in reply to How to stream output to html page?

there are several ways to satisfy your intentions. here are two of them:
1. set $| to a true value. this will autoflush the output stream after each print statement.
2. take a look at the htt protocol. there is e.g. the response code 206 "partial content", or the widely unknown response code 100 "continue", which both might be of interest for you.
--------------------------------
masses are the opiate for religion.

Replies are listed 'Best First'.
Re^2: How to stream output to html page?
by Anonymous Monk on May 14, 2014 at 12:54 UTC
    Note: On a simple setup (such as Apache/Windows/Strawberry Perl) if you don't add a
    to insert a newline as part of the print, then it won't flush.