Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: problems installing HTML::Tree

by Jeffrey Kegler (Hermit)
on May 09, 2010 at 16:17 UTC ( #839121=note: print w/ replies, xml ) Need Help??

in reply to problems installing HTML::Tree

You might want to look at Marpa-HTML, which also does high-level HTML parsing using a new parsing algorithm. As the author of Marpa-HTML I am biased, but I use Marpa-HTML for my own work. I think you may find its interface handy and that the power of the underlying Marpa algorithm pays off in this application.

Comment on Re: problems installing HTML::Tree
Replies are listed 'Best First'.
Re^2: problems installing HTML::Tree
by metaperl (Curate) on May 10, 2010 at 15:45 UTC

      Marpa-HTML is derived from, and replaces Marpa::UrHTML.

      For an example of how to output the HTML, look at the html_fmt utility which is part of the Marpa-HTML distribution. Warning: html_fmt is primarily intended to pretty-print HTML for reading. This keeps it pretty simple. I find most of the time the HTML output also renders the same as the input, but you can't rely on that.

      I'll look into providing an equivalent to as_HTML(). Transforming a table with zebra striping might be a good example for me to add. I'll also look into that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://839121]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-10-05 04:10 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (107 votes), past polls