HTML-Tree had similar problems. Look in HTML::TreeBuilder->new() to see how
he worked around it. The archive on CPAN is HTML-Tree-0.65.tar.gz.
--
Mac :})
** I may forward private database questions to the DBI mail lists. **
----- Original Message -----
From: "KIMURA Takeshi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 11, 2000 7:18 PM
Subject: HTML::Parse overwriting sub parse
> 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?