WWW::Mechanize question
[email protected] (Richard Lee)
| Newsgroups | perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
what is wrong w/ below?
I would think this would work but this is spitting out
use strict;
use warnings;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
my $url = 'http://10.212.100.1';
#$mech->credentials('user1', 'passwd1');
my $page = $mech->get( $url );
print "$page\n";
when I run it, I get
-> HTTP::Response=HASH(0x9e64f8c)