Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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

Comment on Re: Problem with sleep command in perl

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 wandering the Monastery: (2)
As of 2015-10-04 22:37 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (105 votes), past polls