设置HTTP代理:set http_proxy=http://user@passwd:proxy_server_ip:proxy_server_port
然后运行 ppm install dbi;
perl -MCPAN -e shell
o conf urllist unshift http://www.perl.com/CPAN/
o conf commit
o conf http_proxy http://user@passwd:proxy_server_ip:proxy_server_port
i /dbi/