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


in reply to Real-Time Web-Chat with Perl

What you are doing by setting $|=1 is telling the perl interpreter to autoflush all your output (any monks unfamiliar1 can see here for a thorough treatment) which can be a useful thing but I'm not sure is going to be the whole answer...

Have you read through the documentation for the CGI module which does tell you how to get started with No-Parsed-Header output?

I wish you good luck!

..Guv

1 Not implying the poster would be unfamiliar with the topic...