Chinaunix
标题:
使用LWP::Simple出错scheme 'http' is not supported
[打印本页]
作者:
maxpayne
时间:
2010-05-28 17:12
标题:
使用LWP::Simple出错scheme 'http' is not supported
如题,很奇怪啊,是不是哪个模块少装了啊,用的cpan的install LWP装的,系统是solaris10,哪位知道为啥呢?
-bash-3.00# perl -MLWP::Simple -e "getprint 'http://172.16.188.100:8003/webcmd/devicecap?imei=350302990012560'"
501 Protocol scheme 'http' is not supported <URL:http://172.16.188.100:8003/webcmd/devicecap?imei=350302990012560>
-bash-3.00#
复制代码
作者:
maxpayne
时间:
2010-05-28 17:31
原来是环境变量要设置HTTP_PROXY
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2