in reply to
how to set timeout on WWW::Spider?
You can set a timeout on the user agent object that you pass to WWW::Spider.
Perl 6
- links to (nearly) everything that is Perl 6.
Comment on
Re: how to set timeout on WWW::Spider?
Replies are listed 'Best First'.
Re^2: how to set timeout on WWW::Spider?
by
perlpreben
(Beadle)
on Apr 16, 2010 at 12:36 UTC
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.
[reply]
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.
[reply]
In Section
Seekers of Perl Wisdom