in reply to Re: I can not install perl modules via LWP
in thread I can not install perl modules via LWP

Hi choroba, thanks for reply! Here is the o conf /proxy/ results.
cpan[5]> o conf /proxy/ $CPAN::Config options from /home/zluna/.cpan/CPAN/MyConfig.pm: ftp_proxy [] http_proxy [] no_proxy [localhost,127.0.0.0/8,::1] proxy_pass undef proxy_user [] cpan[7]> i Fetching with LWP: http://mirrors.163.com/cpan/authors/01mailrc.txt.gz LWP failed with code[500] message[read timeout] Proxy authentication needed! (Note: to permanently configure username and password run o conf proxy_user your_username o conf proxy_pass your_password )
In my opinin, I did not set any proxy and I also don't want to use proxy for download modules. But still can not install the modules, however, I can download the modules by "wget" and then put them to the folders.

Replies are listed 'Best First'.
Re^3: I can not install perl modules via LWP
by choroba (Cardinal) on Nov 05, 2014 at 14:09 UTC
    There seems to be a proxy set on your system. wget might be able to access it thanks to environment variables - try
    echo $http_proxy $HTTP_PROXY

    in your shell. You should get the output as

    http://username:password@proxy-url
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      It works, Thanks very much.