I've got a cgi script that takes a while to complete, and would like to output some indication of progress. My problem is that the output is being cached, and not displayed on the browser until everything is complete.
I've tried setting $| = 1, but it still doesn't appear to be doing what I want. The script currently outputs " x%..." where x is some multiple of 10 (i.e. 10%... 20%...).