Redian新闻
>
question about perl programming
avatar
question about perl programming# Programming - 葵花宝典
g*l
1
hi, there,
I am learning to use Perl to grab some useful information from
internet. For example to get specified web page.
I tested several web sites and the code works well. But when I tried
on www.officedepot.com, the code does not work any more. the returned
error message is always "Error1: when get http://www.officedepot.com:
500 Can't connect to www.officedepot.com:80 (connect: Unknown error)"
I have no idea what is going wrong. please help me on this
////
use LWP 5.64;
use LWP::UserAgent;
avatar
c*t
2
I don't have problem to run the code. My result: connected with server.

【在 g***l 的大作中提到】
: hi, there,
: I am learning to use Perl to grab some useful information from
: internet. For example to get specified web page.
: I tested several web sites and the code works well. But when I tried
: on www.officedepot.com, the code does not work any more. the returned
: error message is always "Error1: when get http://www.officedepot.com:
: 500 Can't connect to www.officedepot.com:80 (connect: Unknown error)"
: I have no idea what is going wrong. please help me on this
: ////
: use LWP 5.64;

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。