Don't ask to ask, just ask | |
PerlMonks |
RE: Re: Sleeping with the Enemyby Boogman (Scribe) |
on Aug 26, 2000 at 00:17 UTC ( [id://29725]=note: print w/replies, xml ) | Need Help?? |
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:
See the perlfunc bit on select...
In Section
Seekers of Perl Wisdom
|
|