由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - question about perl programming
相关主题
急问一个关于perl的问题gdb debug c++的问题
请教:如何用Java get URL content是.swe并且是utf-16 encoding的文件有谁对glibc的allocator有研究?
求教Python的一个问题segmentation fault as soon as entering 1 function in the arm processor board
问个Python问题network programming dummy question
怎么模拟Blackberry的Browser ?问二爷,赵爷, 古德霸等Spark大牛 怎么Shutdown Connection Pool?
python download pdf一个pc只有一个NIC,能跟2个不同的subnet connect 吗? (转载)
如何GDB调试因pthread_cond_wait()阻塞的线程? (转载)怎么知道connection backlog有多少等待的connections
请教一个语言选择的弱问题perl monk (ascii art)
相关话题的讨论汇总
话题: perl话题: lwp话题: use话题: connect
进入Programming版参与讨论
1 (共1页)
g***l
发帖数: 2753
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;
c**t
发帖数: 2744
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;

1 (共1页)
进入Programming版参与讨论
相关主题
perl monk (ascii art)怎么模拟Blackberry的Browser ?
Usage of Grep???help!!!python download pdf
[转载] 在CGI程序中有何好方法返回HTML如何GDB调试因pthread_cond_wait()阻塞的线程? (转载)
perl array|hash question请教一个语言选择的弱问题
急问一个关于perl的问题gdb debug c++的问题
请教:如何用Java get URL content是.swe并且是utf-16 encoding的文件有谁对glibc的allocator有研究?
求教Python的一个问题segmentation fault as soon as entering 1 function in the arm processor board
问个Python问题network programming dummy question
相关话题的讨论汇总
话题: perl话题: lwp话题: use话题: connect