Re: HTML::Parser line numbers

M. Hedlund (hedlund@best.com)
Thu, 22 Jan 1998 17:05:40 -0800 (PST)


On Thu, 22 Jan 1998, Brian Slesinsky wrote:
> Hi, I created a subclass of HTML::Parser that keeps track of which
> character and line it's at in the input file.  There's a lot of duplicate
> code because I had to copy the parse() method and modify it.  Perhaps
> you'd like to merge the changes back into HTML::Parser?  Line number info
> might be useful for others (e.g. for printing error messages). 

Yeah, this would be a worthwhile feature-add.  Can you post the patch?

[personal opinion -- Gisle would very likely be the one to decide
disposition.]

M. Hedlund <hedlund@best.com>