in reply to Re^4: making a loop script with a remote URL call faster
in thread making a loop script with a remote URL call faster

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.

  • Comment on Re^5: making a loop script with a remote URL call faster