I recently installed new HTML::Parser in MacPerl and tried to run a
script based on old HTML::Parser.
I have a MyParser.pm and 'sub parse' overwrited there. In 'sub parse'
I have a line,
$self->SUPER::parse( $chunk );
This line causes the following error when 'sub parse' is called.
# Can't find '_hparser_xs_state' element in HTML::Parser hash, <F>
chunk 1.
I don't know much about the limitation of XS and inheritance in Perl,
so I guess I am doing something awkward.
Well, it worked with the old HTML::Parser and it is great if I don't
have to rewrite the code.
Any advise? Is there a documentation for porting from old to new
HTML::Parser?
--
Takeshi