Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: WWW::Mechanize can't GET; no helpful error message comes back

by perlfan (Curate)
on Jun 06, 2013 at 15:27 UTC ( #1037477=note: print w/ replies, xml ) Need Help??


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

DNS or internetz not working?


Comment on Re: WWW::Mechanize can't GET; no helpful error message comes back
Re^2: WWW::Mechanize can't GET; no helpful error message comes back
by SamCG (Hermit) on Jun 06, 2013 at 16:17 UTC


    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;
      IE configured to use a proxy or something?
        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
        If that's the case, the only other thing I can think of is
        $ua->no_proxy();

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1037477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2015-07-01 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (24 votes), past polls