Opalenet has asked for the wisdom of the Perl Monks concerning the following question:
Hey,
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.
Do you have any idea?
Thanks,
Andrei
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.
Do you have any idea?
Thanks,
Andrei
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Show information before end of script
by merlyn (Sage) on Sep 15, 2005 at 15:31 UTC | |
by Opalenet (Acolyte) on Sep 15, 2005 at 16:49 UTC | |
Re: Show information before end of script
by NateTut (Deacon) on Sep 15, 2005 at 13:20 UTC | |
Re: Show information before end of script
by phaylon (Curate) on Sep 15, 2005 at 13:30 UTC | |
Re: Show information before end of script
by amw1 (Friar) on Sep 15, 2005 at 15:07 UTC | |
Re: Show information before end of script
by ruoso (Curate) on Sep 15, 2005 at 17:23 UTC | |
by Opalenet (Acolyte) on Sep 15, 2005 at 20:24 UTC | |
by ruoso (Curate) on Sep 15, 2005 at 20:38 UTC | |
Re: Show information before end of script
by schweini (Friar) on Sep 15, 2005 at 23:46 UTC |
Back to
Seekers of Perl Wisdom