阅读背景:

我的第一个perl脚本:在循环中使用“get($ url)”方法?

来源:互联网 

So it seemed easy enough. Use a series of nested loops to go though a ton of URLs sorted by year/month/day and download the XML files. As this is my first script, I started with the loop; something familiar in any language. I ran it just printing the constructed URLs and it worked perfect. I then wrote the code to download the content and save it separately, and that worked perfect as well with a sample URL on multiple test cases. But when I combined these two bits of code, it broke, the program just got stuck and did nothing at all. I therefore ran the debugger and as I stepped through it, it became stuck on this one line:So it seemed easy enough. Use a series of neste




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: