# off hand code foreach my $sleepval ( @sleepvals) { sleep( $sleepval < $maxsleep ? $sleepval : $maxsleep); print strftime "%H:%M:%s", localtime; print "\n"; }
In reply to Re: enforce timeout in loop
by rir
in thread enforce timeout in loop
by semio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |