Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 wandering the Monastery: (16)
As of 2015-07-06 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls