in reply to Re: Accessing web page
in thread Accessing web page

use strict; use warnings; use WWW::Mechanize; my $mech=WWW::Mechanize->new(noproxy => 0); my $URL="http://in.yahoo.com/"; $mech->get($URL); $mech->follow_link(text => 'Mail'); my $file=$mech->content(); open FILE_OUT , ">output.html" or die "$!"; print FILE_OUT $file; close FILE_OUT;

Modified the code but still getting the same error.

Replies are listed 'Best First'.
Re^3: Accessing web page
by marto (Cardinal) on Jul 24, 2009 at 11:24 UTC

    So you are using a HTTPS Proxy? Did you set the HTTPS_PROXY environment varialble as describe in the documentation I linked to previously?

    Martin