I:\perl>perl -e "use WWW::Mechanize;$mech=WWW::Mechanize->new() or die \"Cannot create mech: $!\n\";$mech->get('http://www.google.com') or die \"Cannot get: $!\";$page=$mech->content();print $page;" Error GETing http://www.google.com: Can't connect to www.google.com:80 (Bad host name) at -e line 1.