in reply to Turning off buffering ($|=1) doesn't work on Apache server
I tested your script, and it works for me with both
Firefox 1.5 and IE 6. My server is Apache 2.2.2 running on
Fedora Core 4 linux. Perl version 5.8.8.
I guess this doesn't really answer your question, but at least you can be sure that the problem is not due to an error in your perl code.