in reply to Re: HTML::Treebuilder look_down not working with <header>, <article> etc
in thread HTML::Treebuilder look_down not working with <header>, <article> etc

Erm. Yes. I still don't get it. Anyone can explain that code further?
  • Comment on Re^2: HTML::Treebuilder look_down not working with <header>, <article> etc

Replies are listed 'Best First'.
Re^3: HTML::Treebuilder look_down not working with <header>, <article> etc
by Corion (Patriarch) on May 07, 2014 at 10:56 UTC

    <header> and <article> are not HTML tags. HTML::TreeBuilder seems to ignore tags that are not HTML tags. So I would guess that HTML::TreeBuilder is the wrong tool to process things that are not HTML.

    The rest of the post of Anonymous Monk shows you an alternative approach using XML::LibXML. Maybe you should pursue that one.

Re^3: HTML::Treebuilder look_down not working with <header>, <article> etc
by Anonymous Monk on May 07, 2014 at 10:54 UTC

    Erm. Yes. I still don't get it. Anyone can explain that code further?

    Sure, if you can explain what -- its like saying "doesn't work" ... great, ok then, have a nice day