Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

RE: Re: Sleeping with the Enemy

by Boogman (Scribe)
on Aug 26, 2000 at 00:17 UTC ( [id://29725]=note: print w/replies, xml ) Need Help??


in reply to Re: Sleeping with the Enemy
in thread Sleeping with the Enemy

The fourth argument to select specifies a timeout. If you call it with blanks for the first three arguments and a value for the fourth it will timeout for that long. For example, you can effect a sleep of 250 milliseconds this way:
select(undef, undef, undef, 0.25);
See the perlfunc bit on select...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-19 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found