Here's a patch that will let HTML::Treebuilder work for now.
Gisle,
It looks like we need to add an initializer to HTML::Parser or HTML::Element
to allow one to initialize objects of the other's class. Adding the
initializer to HTML::Element would probably be easier.
Do we have a memory leak when a reblessed reference to a HTML::Parser object
is reassigned?
--
Mac :})
** I may forward private database questions to the DBI mail lists. **
----- Original Message -----
From: Randal L. Schwartz <[EMAIL PROTECTED]>
To: Gisle Aas <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 14 December, 1999 19:47
Subject: Re: HTML-Parser-3.00
> Hmm. "make test" on HTML::Tree's distribution now reports:
>
> t/oldparse..........Can't find '_hparser_xs_state' element in
HTML::Parser hash at blib/lib/HTML/Parse.pm line 144.
>
> ooops. :)
>
> This means that installing HTML::Parser 3.0 breaks anything that
> uses HTML::TreeBuilder, including my cute html2cgi script from my
> Perl-WT column.
HTML-Tree-0.51_mac-1.patch