in reply to Re: How to get HTML::Parser to return a line of parsed text
in thread How to get HTML::Parser to return a line of parsed text

I've noticed that the display method will still show DTDs and PIs and SSIs and comments. I'd appreciate any feedback as to whether these should be discarded.
The display method takes a number which represents the depth of tags to show. If you give it 0, no tags are shown. If you give it 1, the top-most layer of tags is shown. (-1, or no value, expands all tags.) Should all non-text items be included in this filtering? Or just tags?


japhy -- Perl and Regex Hacker
  • Comment on Re: Re: How to get HTML::Parser to return a line of parsed text