in reply to Turning off buffering ($|=1) doesn't work on Apache server
You are correct. Turning off buffering does not directly affect what you see in the browser. When apache receives your request from a browser, it invokes your perl script. Once that perl script has completed, the output is sent back to the browser.
You can't compare the behavior of you program on STDOUT to the behavior of your program on apache.
Hazah! I'm Employed!
|
|---|