http://www.perlmonks.org?node_id=152200

BioHazard has asked for the wisdom of the Perl Monks concerning the following question:

For a while I've been looking for a possibility to make a real-time web-chat with Perl. Every other implementation I've seen so far, needed to refresh the whole browser frame to display the entered text. 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.
I've seen this "streaming" in several Java-Chats with HTML-Front-End (no applet!) (i.e. Cassiopeia Software) and I would be surprised if this is not possible with Perl.

Thanks for your help!