Debian Codegraph @

README

raw
1 README for LWP::UserAgent::Determined
2 Time-stamp: "2004-04-08 22:37:47 ADT"
3
4 NAME
5
6 LWP::UserAgent::Determined - a virtual browser that retries errors
7
8 SYNOPSIS
9
10 use strict;
11 use LWP::UserAgent::Determined;
12 my $browser = LWP::UserAgent::Determined->new;
13 my $response = $browser->get($url, headers... );
14
15 DESCRIPTION
16
17 This class works just like LWP::UserAgent (and is based on it, by
18 being a subclass of it), except that when you use it to get a web page
19 but run into a possibly-temporary error (like a DNS lookup timeout),
20 it'll wait a few seconds and retry a few times.
21
22 It also adds some methods for controlling exactly what errors are
23 considered retry-worthy and how many times to wait and for how many
24 seconds, but normally you needn't bother about these, as the default
25 settings are relatively sane.
26
27
28
29
30 INSTALLATION
31
32 You install this module, as you would install any perl module library,
33 by running these commands:
34
35 perl Makefile.PL
36 make
37 make test
38 make install
39
40 If you want to install a private copy of this module in your home
41 directory, then you should try to produce the initial Makefile with
42 something like this command:
43
44 perl Makefile.PL LIB=~/perl
45
46 Then you may need something like
47 setenv PERLLIB "$HOME/perl"
48 in your shell initialization file (e.g., ~/.cshrc).
49
50 For further information, see perldoc perlmodinstall
51
52
53 DOCUMENTATION
54
55 POD-format documentation is included in this module. POD is readable
56 with the 'perldoc' utility. See ChangeLog for recent changes.
57
58
59 SUPPORT
60
61 Questions, bug reports, useful code bits, and suggestions for
62 this module should just be sent to me at [email protected]
63
64
65 AVAILABILITY
66
67 The latest version of this modules is available from the Comprehensive
68 Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to
69 find a CPAN site near you.
70
71
72 COPYRIGHT
73
74 Copyright 2004, Sean M. Burke <[email protected]>, all rights reserved.
75 This program is free software; you can redistribute it and/or modify
76 it under the same terms as Perl itself.
77
78 This program is distributed in the hope that it will be useful, but
79 without any warranty; without even the implied warranty of
80 merchantability or fitness for a particular purpose.
81
82 AUTHOR
83
84 Sean M. Burke <[email protected]>