I have a Perl script that is rather long to execute (around 20 sec.). I would like it to send some message to the browser, before it ends.
Actually, it would start by showing a "Processing..." message, then do its job, then show the end result.
The problem is that I did made some print in the head of the script, but it always awaits for its end to make the print to the browser.