Hello, just a quick question...
 
Has anyone out there successfully deployed HTML::Parser in an apache 1.3.x / mod_perl / HTML::Mason environment (dynamically parsing pages) ?
 
I realize that the module itself is kind of crunky, and additionally an XS module, so, i'm left wondering.
 
Basically, what i'm seeing is everything working as you'd expect on the first load of the page which creates and uses an HTML::Parser object, but, on any subsequent loads from that same apache child, things are partially broken -- specifically, during parsing, callbacks to text() don't seem to be happening, but callbacks to start() and end() seem to work fine.
 
I'm wondering if there's any way around this -- that is, any way to completely destroy any previous data that HTML::Parser is letting linger that's causing a problem, and reloading the module. Not sure about the feasiblity of this due it being XS.
 
If it is in fact just broken, does anyone recommend an HTML parsing module that's pure perl / and or one that .. um ... works? :)
HTML::TreeBuilder doesn't seem to be as robust....
 
Thanks.
 
Mike
 

Reply via email to