Questions tagged [html-tree]

HTML-Tree is a Perl library for parsing HTML into DOM-like trees. It includes HTML::TreeBuilder and HTML::Element.

HTML-Tree is the most popular Perl library for parsing HTML into DOM-like trees. It includes HTML::TreeBuilder and HTML::Element.

There are a number of other modules that build on top of HTML-Tree. Some notable ones are:

33 questions
0
votes
2 answers

Web crawler text formatting

I have the following code to access a HTML table. my $table = $tree->look_down(_tag => "table", id => "moduleDetail"); however the text is coming down not formatted, because the web page uses the tables borders to divide certain pieces of text. So…
aspiringCoder
  • 415
  • 1
  • 9
  • 24
-1
votes
1 answer

How exactly does the "parent" function from HTML::TreeBuilder work?

The documentation on CPAN doesn't really explain this behavior unless I'm missing something. I've put together some quick test code to illustrate my problem: #!/usr/bin/perl use warnings; use strict; use HTML::TreeBuilder; my $testHtml = "…
s2cuts
  • 193
  • 2
  • 3
  • 13
-4
votes
1 answer

install HTML::TreeBuilder::XPath getting failed

I am trying to install ** HTML::TreeBuilder::XPath of version 0.13 ** but it gets failed. Can anyone suggest what could be the cause.
Naveen
  • 139
  • 2
  • 11
1 2
3