Re: HTML::Parser

Gisle Aas <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
Oliver Block <[email protected]> writes:

> I don't know, if this is intended behavior of HTML::Parser or maybe if you 
> have that already on your ToDo list, but HTML::Parser does not call the 
> end_document handler or in other words, there does no end_document event 
> occur, unless you call $p->eof(). Neither after $p->parse($string), nor after 
> $p->parse_file($filename).

This is not supposed to be for parse_file().  It would be helpful if
you try to produce a small test program that demonstrates this.

For parse() this is the expected behaviour.

--Gisle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.