Perl Monk, Perl Meditation | |
PerlMonks |
Re: Simple question about sleep functionby Discipulus (Canon) |
on Sep 23, 2016 at 10:51 UTC ( [id://1172449]=note: print w/replies, xml ) | Need Help?? |
the four arg form of select allow to sleep for less than 1 second wich is the minimum for sleep iirc there were also something with block nonblock mode related to threads. or related to alarm (update: was this; see Alternatives to Mixing Alarm and Sleep). In most cases your snippets behave identically,though. L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|