Re: HTML::Parser: how can I reset report_tags to report all tags?

2005-06-19 Thread Norbert Kiesel
Hello, here is a patch which adds some mpre documentation for repot_tags and ignore_tags. I also added some test cases. I changed the t/filter-methods.t to use Test::More, as this gives nice error messages if tests fail (which they did while I was trying to figure this stuff out :-). Only

HTML::Parser: how can I reset report_tags to report all tags?

2005-06-14 Thread Norbert Kiesel
Hello, I'm trying to use HTML::Parser to parse some web pages. During that process, I'm normally just interested in some specific parts, so I use report_tags. However, at some point I need to get the whole text including all embedded HTML tags. What I currently have are a start handler , an

Re: HTML::Parser: how can I reset report_tags to report all tags?

2005-06-14 Thread Gisle Aas
Norbert Kiesel [EMAIL PROTECTED] writes: I tried to use -ignore_tags(()) and -ignore_tags(qw(none)), but it seems that after calling -report_tags() once it alsways uses a positive tag filter. Calling -report_tags() without any arguments should reset the filter. Regards, Gisle