Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Spidering Hacks - Hack 19 not working because the Oreilly website has changed.

I have been working on Hack 19 of the Spidering Hacks books but I'm getting an error when running the script. I'm assuming because the website has changed since the book was written.

This is the error I'm getting when I run the script:

Use of uninitialized value in subroutine entry at /usr/lib/perl5/site_perl/5.8.8/HTML/TreeBuilder.pm line 93. Can't call method "as_HTML" on an undefined value at ./SpiderTutorial_19_09.pl line 67. There are 0 Perl books and 0 Java books. 0 more Java than Perl.

I have already changed the address to the new page name in the code "http://oreilly.com/store/complete.html" but I need help figuring out the code to get it to work (I think that is the problem anyways).

I can include my code if it will help

Any help would be greatly appreciated.

Thanks,

Dennis
1 person has
this problem
+1
Reply