LWP::AuthenAgent - a simple subclass of LWP::UserAgent to allow the user to type in username / password information if required for autentication.
use LWP::AuthenAgent; my $ua = new LWP::AuthenAgent; my $response = $ua->request( new HTTP::Request 'GET' => $url );
LWP::AuthenAgent simple overloads the get_basic_credentials method of LWP::UserAgent. It prompts the user for username / passsword for a given realm, supressing tty echoing of the password. Authentication details are stored in the object for each realm, so that they can be re-used in subsequest requests for the same realm, if necessary.
LWP::AuthenAgent inherits all the methods available in LWP::UserAgent.
LWP::UserAgent Term::ReadKey
Ave Wrigley <Ave.Wrigley@itn.co.uk>
Copyright (c) 1997 Canon Research Centre Europe (CRE). All rights reserved. This script and any associated documentation or files cannot be distributed outside of CRE without express prior permission from CRE.
To install WWW::Sitemap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Sitemap
CPAN shell
perl -MCPAN -e shell install WWW::Sitemap
For more information on module installation, please visit the detailed CPAN module installation guide.