igoryonya has asked for the wisdom of the Perl Monks concerning the following question:
so doing:use HTML::TreeBuilder::XPath; my $resp_obj = HTML::TreeBuilder::XPath->new_from_url(shift); for my $el ($resp_obj->findvalues('/*')){ #Some XPpath in singlequotes print "$el\n", 'x' x 30, "\n"; }
gives me this:fetch_url_xpath.pl 'http://some.url/path/file.html'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error with executing findvalues method on HTML::TreeBuilder::XPath
by choroba (Cardinal) on Jan 06, 2017 at 14:23 UTC | |
by igoryonya (Pilgrim) on Jan 08, 2017 at 12:40 UTC | |
by Corion (Patriarch) on Jan 08, 2017 at 13:14 UTC | |
by Anonymous Monk on Jan 08, 2017 at 13:28 UTC | |
by Anonymous Monk on Jan 08, 2017 at 13:23 UTC |