If the timing needs to be quite exact
Relevant threads may be The most precise second (timer) and Call function no more than every 0.1 seconds in which my posts here and here demonstrate clock_nanosleep(2) in Time::HiRes. Both don't handle the case of the task lasting longer than the interval, though.
In reply to Re^5: making a loop script with a remote URL call faster
by haukex
in thread making a loop script with a remote URL call faster
by brandonm78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |