in reply to Workaround of Timeout on https
First, why aren't you using the timeout() member of LWP::UserAgent? Second, your code does not capture the return from die(). Remember, die() exits the eval() setting $@ with the string given. You need to check the status of $@ outside your eval().
Updtate: see also LWP - timeout
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Workaround of Timeout on https
by perlmonkdr (Beadle) on May 15, 2008 at 13:54 UTC | |
by starbolin (Hermit) on May 15, 2008 at 16:45 UTC |