Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

by SamCG (Hermit)
on Jun 06, 2013 at 15:21 UTC ( #1037476=perlquestion: print w/replies, xml ) Need Help??

SamCG has asked for the wisdom of the Perl Monks concerning the following question:

Not sure what to make of this error or how to go about troubleshooting it... using strawberry perl portablezip edition on a Virtual machine, so I'm not sure if that's what's causing this... Note that because I used -e on a windows cmd line I need to escape the double-quotes.
I:\perl>perl -e "use WWW::Mechanize;$mech=WWW::Mechanize->new() or die + \"Cannot create mech: $!\n\";$mech->get('') or +die \"Cannot get: $!\";$page=$mech->content();print $page;" Error GETing Can't connect to + (Bad host name) at -e line 1.

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;

Replies are listed 'Best First'.
Re: WWW::Mechanize can't GET; no helpful error message comes back
by perlfan (Vicar) on Jun 06, 2013 at 15:27 UTC
    DNS or internetz not working?

      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?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1037476]
Approved by Jim
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2023-02-01 02:35 GMT
Find Nodes?
    Voting Booth?

    No recent polls found