in reply to Scraping Rendered Text that is not in Source Code
If you're having problems with the xpaths themselves, the W3C XPath documentation has many examples of xpath syntax and abbreviations.
Another module that seems popular for this type of work is HTML::TreeBuilder::XPath.
Also, in your code you have while (...) {...}; - there shouldn't be a semicolon at the end.
I also notice the error is reported as ...at script2.pl line 2. but line 2 of the script you posted is use strict;.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Scraping Rendered Text that is not in Source Code
by bobross419 (Acolyte) on Oct 31, 2010 at 06:09 UTC | |
by kcott (Archbishop) on Oct 31, 2010 at 10:39 UTC |