in reply to WWW:::Mechanize and credentials
#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; my $url= 'http://10.11.12.13/password.html'; my $mech = WWW::Mechanize->new( autocheck => 1 ); $mech->credentials( '10.11.12.13:80', 'ABCDEF', 'admin' => 'password' ); $mech->get( $url ); print $mech->content();
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW:::Mechanize and credentials
by petdance (Parson) on Mar 10, 2005 at 17:42 UTC |