Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

(redmist) Re: Making a program stop executing for five minutes

by redmist (Deacon)
on Feb 20, 2001 at 22:21 UTC ( [id://59726]=note: print w/replies, xml ) Need Help??


in reply to Making a program stop executing for five minutes

Or you could use select():
select(undef, undef, undef, 298.6);    # Be precise That way, your program will sleep for exactly 298.6 seconds. sleep() will actually sleep more or less than you want depending on what architecture you are on.

redmist
Silicon Cowboy

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found