Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Welcome to the Monastery
 
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: (10)
As of 2013-05-18 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (394 votes), past polls