I don't understand. Won't $http->request() block until it gets something back or the underlieing socket times out? How can you check the timeout if it blocks?
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: Making Timeout for Yourself
by hardburn
in thread Making Timeout for Yourself
by mcogan1966
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |