LWP::UserAgent::Paranoid::Compat - LWP::UserAgent::Paranoid drop-in replacement for LWPx::ParanoidAgent
use LWP::UserAgent::Paranoid::Compat; my $ua = LWP::UserAgent::Paranoid::Compat->new; # use $ua the same as LWPx::ParanoidAgent...
This class is a subclass of LWP::UserAgent::Paranoid and changes the default behaviour and interface to match LWPx::ParanoidAgent as closely as possible.
Only HTTP and HTTPS are allowed
Timeout is 15s by default
A timeout constructor param and "timeout" method are available
timeout
The "resolver" method gets/sets the underlying resolver used by an Net::DNS::Paranoid instance instead of acting as the getter of the Net::DNS::Paranoid instance itself. The resolver constructor param follows suite.
resolver
All bugs should be reported via rt.cpan.org or bug-LWP-UserAgent-Paranoid@rt.cpan.org.
Thomas Sibley <tsibley@cpan.org>
This software is primarily Copyright (c) 2013 by Best Practical Solutions, with parts of it Copyright (c) 2014-2015 by Thomas Sibley.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install LWP::UserAgent::Paranoid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LWP::UserAgent::Paranoid
CPAN shell
perl -MCPAN -e shell install LWP::UserAgent::Paranoid
For more information on module installation, please visit the detailed CPAN module installation guide.