Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for ( 1..100 ) {
- ...
- ...
- while ( $cur_time - $last_time < 0.25 ) # at least seconds from last http request
- { $cur_time = ... }
- $last_time = $cur_time;
- $client->POST(...);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement