in reply to Re^3: Enabling timeout method in LWP::UserAgent
in thread Enabling timeout method in LWP::UserAgent

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).

  • Comment on Re^4: Enabling timeout method in LWP::UserAgent

Replies are listed 'Best First'.
Re^5: Enabling timeout method in LWP::UserAgent
by marto (Cardinal) on Jul 28, 2005 at 08:09 UTC
    Exactly,

    As I stated with the above code I am not getting the 3 minute timeout the OP is still experiencing.

    Martin