belize has asked for the wisdom of the Perl Monks concerning the following question:
I have a cgi that has a number of subroutines to perform after a form input. At the end of each subroutine, I would like a message output to the monitor immediately instead of waiting for all subroutines to complete before printing to screen.
In other words, when subroutine#1 is complete, the message "# 1 complete..." would appear on the monitor, then say 2 seconds later when subroutine#2 is complete, the message "#2 complete..." would appear, and so on.
I've seen this on a number of occassions but can't locate the proper commands/syntax .
Thanks.
Edit kudra, 2002-05-01 Added (CGI) to title
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: output to screen in real time
by perlplexer (Hermit) on Apr 24, 2002 at 18:04 UTC | |
by belize (Deacon) on Apr 24, 2002 at 19:14 UTC | |
Re: output to screen in real time
by belg4mit (Prior) on Apr 24, 2002 at 18:21 UTC | |
by abaxaba (Hermit) on Apr 25, 2002 at 01:23 UTC | |
Re: output to screen in real time
by jsprat (Curate) on Apr 24, 2002 at 19:14 UTC | |
(cLive ;-) Re: output to screen in real time
by cLive ;-) (Prior) on Apr 24, 2002 at 20:47 UTC | |
Re: output to screen in real time
by Silicon Cactus (Scribe) on Apr 24, 2002 at 19:54 UTC | |
by belg4mit (Prior) on Apr 24, 2002 at 20:00 UTC |
Back to
Seekers of Perl Wisdom