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

Re: sleep in infinite loop

by Narveson (Chaplain)
on Mar 13, 2008 at 15:33 UTC ( [id://673993]=note: print w/replies, xml ) Need Help??


in reply to sleep in infinite loop

For what it's worth, you can make your infinite loop condition accomplish something for you:

while (sleep 5) { print "interval\n"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-04-18 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found