How could I realize to "stream" the output to the client without refreshing any frame? I tried using a NPH-Script by setting the special Variable $| = 1; but that doesn't seemed to do the trick.
Most browsers start rendering after they have received 512 bytes.
A while ago, I created a web-chat that connects to IRC using POE::Component::IRC. (It's in use (as far as I know) on FellaX.net and Rhizomatic.net). Only Konqueror really needs the page to load completely, so it doesn't work in that browser. It does however work perfectly in Netscape 4, MSIE, Mozilla, Opera and many others.
Example (#foo on irc.convolution): http://webchat.convolution.nl/
Warning: I coded this a long time ago, and it's coded quite badly.
The important piece of code is:
print '<!--', '*'x512, '-->'
This is quite embarrassing :)