![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
perlfunc:sleepby gods (Initiate) |
on Aug 24, 1999 at 22:43 UTC ( [id://357]=perlfunc: print w/replies, xml ) | Need Help?? |
sleepSee the current Perl documentation for sleep. Here is our local, out-dated (pre-5.6) version: ![]() sleep - block for some number of seconds
sleep EXPR sleep
On some older systems, it may sleep up to a full second less than what you requested, depending on how it counts seconds. Most modern systems always sleep the full amount. They may appear to sleep longer than that, however, because your process might not be scheduled right away in a busy multitasking system.
For delays of finer granularity than one second, you may use Perl's
syscall() interface to access
See also the
POSIX module's |
|