in reply to CGI::Application... flushing output to browser?
You can't do that with out totally subverting the process of CGI::Application. You have to return all the output at the end of the run mode. You could of course just use "print" statements, but then it'll mess up the rest of your output and so forth.
The best way I see is to redirect to a non cgi::app cgi file that can print it out slowly over 20 seconds and then redirect back to your run mode or something.