Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Ensuring the user doesn't have to wait for a CGI to finish

by tune (Curate)
on Jul 11, 2002 at 16:39 UTC ( #181061=note: print w/ replies, xml ) Need Help??


in reply to Ensuring the user doesn't have to wait for a CGI to finish

You have to add the following line at the beginning of your script:
$|=1;
It is setting printing into direct mode (turning buffer off), so perl will flush out everything in realtime.

--
tune

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://181061]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2016-08-25 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (362 votes). Check out past polls.