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;
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;