sleep sets a timer for its argument's number of seconds. It returns the number of seconds slept because it may be interrupted by another signal. To be careful, do,
Unsafe to mix with alarm on some platforms.my $timeout = 86400; $timeout -= sleep $timeout while $timeout > 0;
After Compline,
Zaxo
In reply to Re: perl's sleep function
by Zaxo
in thread perl's sleep function
by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |