jcpunk has asked for the wisdom of the Perl Monks concerning the following question:
i am working on a program that is running several things through a web interface and need to tell the user to wait for the long opperations to complete.
i have a bit of code which looks basically like this
at the end of html_start i have a print statement telling the user to wait as this will take a while, but it doesnt show any of the page content other then the bg color until do_long_opp has finished.... well most of the time, sometimes it does it the way i want (and a do_long_opp can take upto 1 minute to run i really need to tell people to wait and not give up hope)&html_start; &do_long_opp; .... sub html_start { .... print "This is gonna take a hellaofa long time<br>\n"; }
by the way thanks for all the help that was, is, and will be
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: displaying output at the correct moment
by merlyn (Sage) on Jun 23, 2003 at 16:27 UTC | |
by waswas-fng (Curate) on Jun 23, 2003 at 18:22 UTC | |
|
Re: displaying output at the correct moment
by chromatic (Archbishop) on Jun 23, 2003 at 16:28 UTC | |
|
Re: displaying output at the correct moment
by Coplan (Pilgrim) on Jun 23, 2003 at 17:04 UTC | |
|
Re: displaying output at the correct moment
by Lost_ego (Novice) on Jun 23, 2003 at 16:22 UTC | |
|
Re: displaying output at the correct moment
by artist (Parson) on Jun 23, 2003 at 16:40 UTC | |
|
Re: displaying output at the correct moment
by hardburn (Abbot) on Jun 23, 2003 at 16:36 UTC | |
by shemp (Deacon) on Jun 23, 2003 at 16:44 UTC | |
by hardburn (Abbot) on Jun 23, 2003 at 17:25 UTC |