in reply to Re: how to set timeout on WWW::Spider?
in thread how to set timeout on WWW::Spider?

Do you (or anyone) have an example on how this is done?
I tried numerous attemps, but Im not too familiar with how to do that. None of my attempts worked, like appending timeout => '1' to it.
  • Comment on Re^2: how to set timeout on WWW::Spider?

Replies are listed 'Best First'.
Re^3: how to set timeout on WWW::Spider?
by moritz (Cardinal) on Apr 16, 2010 at 12:41 UTC
    The LWP::UserAgent documentation is quite clear on how to add a timeout on the UserAgent object, and has an example.