LWP::UserAgent::DeterminedA virtual browser that retries errors | |
Download |
LWP::UserAgent::Determined Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jesse Vincent
- Publisher web site:
- http://search.cpan.org/~jesse/
LWP::UserAgent::Determined Tags
LWP::UserAgent::Determined Description
LWP::UserAgent::Determined is a Perl module that works just like LWP::UserAgent (and is based on it, by being a subclass of it), except that when you use it to get a web page but run into a possibly-temporary error (like a DNS lookup timeout), it'll wait a few seconds and retry a few times.It also adds some methods for controlling exactly what errors are considered retry-worthy and how many times to wait and for how many seconds, but normally you needn't bother about these, as the default settings are relatively sane.SYNOPSIS use strict; use LWP::UserAgent::Determined; my $browser = LWP::UserAgent::Determined->new; my $response = $browser->get($url, headers... );Product's homepage
LWP::UserAgent::Determined Related Software