http://qs1969.pair.com?node_id=1037481


in reply to Re: WWW::Mechanize can't GET; no helpful error message comes back
in thread WWW::Mechanize can't GET; no helpful error message comes back



No, those are all working fine, at least when I open up IE (not my personal browser choice, but meh).


-----------------
s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;
  • Comment on Re^2: WWW::Mechanize can't GET; no helpful error message comes back

Replies are listed 'Best First'.
Re^3: WWW::Mechanize can't GET; no helpful error message comes back
by runrig (Abbot) on Jun 06, 2013 at 17:38 UTC
    IE configured to use a proxy or something?
      If that's the case, the only other thing I can think of is
      $ua->no_proxy();
        That doesn't help either if the OP is behind a firewall and needs to use a proxy.
      Likely it is. Ugh, now I have to remember how to figure out how to get around that... hmmm...



      -----------------
      s''limp';@p=split '!','n!h!p!';s,m,s,;$s=y;$c=slice @p1;so brutally;d;$n=reverse;$c=$s**$#p;print(''.$c^chop($n))while($c/=$#p)>=1;
      it worked for me doing this:
      use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get ('http://google.com'); my $content = $mech->content; print $content;
      I don't think it is necessary to put the 'or die "Can't create mech" part? Also,I have a brief tutorial that I have requested for comment using WWW::Mechanize that is in the meditations section
        That doesn't fix anything if a proxy is involved. See the LWP::UserAgent proxy() and env_proxy() methods.