Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Is it possible to issue a perl command to sleep for less than 1 second?

by davido (Cardinal)
on Aug 24, 2007 at 15:29 UTC ( [id://634900]=note: print w/replies, xml ) Need Help??


in reply to Re: Is it possible to issue a perl command to sleep for less than 1 second?
in thread Is it possible to issue a perl command to sleep for less than 1 second?

Yes, that is a simple method. See select, where it states:

You can effect a sleep of 250 milliseconds this way:

select(undef, undef, undef, 0.25);

Dave

  • Comment on Re^2: Is it possible to issue a perl command to sleep for less than 1 second?
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found