I am using CGI::Application::Plugin::Stream in one of the runmodes of a cgi app. And it sometimes behaves strange, especially under FCGI.
Now I came across this note in the ::Stream docs: "It's recommended that you increment $| (or set it to 1), which will autoflush the buffer as your application is streaming out the file."
The special vars docs say "$| means If set to nonzero, forces a flush after every write or print", but how do I use this in my cgi app?