On Tue, Jul 23, 2013 at 8:59 AM, *Shaji Kalidasan* <shajiin...@yahoo.com> wrote: > Rohit, > > You might be behind a firewall which blocks http or https requests > originating from non browsers. This type of blocking will be typically be > categorized into Dos attack (denial-of-service attack). Your network > administrator can temporarily grant you access. >
It is strange that the reported error is a "bad hostname". Of course name resolution is working fine, since the browser works. It could be a proxy problem, and I should try defining the http_proxy variable (if it works too for cpanm). You can also verify if your proxy (assuming there's one) is blocking non browser request using telnet: telnet cpan.strawberryperl.com 80 and see if you get connected. In the case it is the proxy blocking non browser request you can ask your network admin to add the LWP user agent to the white list (libwww-perl/#.###). Otherwise there could be a way of setting permanently the lwp::useragent product id to fake the proxy. Hope this helps. Luca -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/