That 3 you passed to timeout() is 3 seconds, not 3 minutes. However, if you omit the parameter, the default value is 3 minutes (or 180 seconds).
In reply to Re^4: Enabling timeout method in LWP::UserAgent
by pg
in thread Enabling timeout method in LWP::UserAgent
by dReKurCe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |