And for portable sub-second waiting, there's Time::HiRes.
The only reason to use the "select" version for pausing these days is for sub-second precision on embedded systems, where space is at a premium.
In reply to Re: Simple question about sleep function
by Yary
in thread Simple question about sleep function
by Lucas Rey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |