Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: sleep problem !

by rnahi (Curate)
on Sep 22, 2005 at 09:50 UTC ( #494051=note: print w/ replies, xml ) Need Help??


in reply to sleep problem !

Your standard output needs to be unbuffered.

Add this line before your loop:

$|++;

And you should get what you want.

See Suffering from buffering (off site) for a thorough explanation.

Comment on Re: sleep problem !
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-04-30 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.