Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Problem with sleep command in perl

by bulk88 (Priest)
on Aug 03, 2012 at 15:50 UTC ( #985270=note: print w/replies, xml ) Need Help??

in reply to Problem with sleep command in perl

You are using buffered stdio. Only when the buffer has a newline will it print to console. Turn on autoflush$| every print should cause a console print, but this also causes higher cpu and is less efficient.

edit for mistake pointed out by another monk

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2016-10-28 18:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.