in reply to
Re: WWW::Mechanize - Could not connect to a server
in thread WWW::Mechanize - Could not connect to a server
monks,
#!/usr/bin/perl -w
use WWW::Mechanize;
use strict;
use Data::Dumper;
use Storable;
my $url = 'http://www.census.gov/population/www/documentation/twps
+0027.html';
my $m = WWW::Mechanize->new();
$m->http_proxy ( "proxy_address:proxy_port" );
I tried the above code and got the error as follows :-
Can't locate object method "http_proxy" via package "WWW::Mechanize" a
+t l.pl lin
e 11.
Is there something wrong in the above Code. If so, could you add your valuable points.
hmmm ....let me think what did I said