No extra module is needed. WWW::Mechanize is a subclass of LWP::UserAgent, which supports it.
my $ua = new WWW::Mechanize(); $ua->credentials('www.myhostname.com:80', 'RealmName', 'user', 'pass'); $ua->get('http://www.myhostname.com'); print $ua->content; The params are host/port, realm, username, password. The realm should be visible in the login box (in IE6 it is). See LWP::UserAgent for more info... although it doesn't say much about that function. Rob -----Original Message----- From: Raghupathy [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 5:44 PM To: [EMAIL PROTECTED] Subject: authenticate module Hi, I like to use WWW::Mechanize to scrape a website. However the website has a authentication page. Is there a perl module I can use to perform the authentication ? Thanks, Raghu __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]