|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: How to make an HTTP request with an equivalent of curl's --max-time?by blindluke (Hermit) |
| on Jan 14, 2015 at 06:51 UTC ( [id://1113197]=note: print w/replies, xml ) | Need Help?? |
|
Take a look at Time::Limit. It is possible that it will be the right tool for the task ahead of you. See: Self terminating a script after a specified time for a problem similar to yours. Take note of this anonymous reply with some very useful notes about alarm. - Luke
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||