Open PhilterPaper opened 4 months ago
Here's what I've found so far. With qw<tree>
, a bunch of uninitialized value errors, without it, no errors reported (who knows if the code does what is intended, but no error messages).
<tree>
was given in 'use', there are 22 'uninitialized value' errors in TreeBuilder and Element (if not given, no messages)<tree>
given), there are another 11 'uninitialized value' errors in TreeBuilder and Element (if not given, no messages)So, what is SUPER::parse()? The only parse() I can find is in TableExtract.pm (none in HTML::Tree family). HTML::Form has a parse(), but it does not appear to be called. Until I can find who this SUPER::parse() is, I'm stuck. I presume that if I can find this parse(), it will eventually lead me to some TreeBuilder and Element calls with bad parameters or something. There are a couple of sub tree
s in TableExtract, and my understanding of use...qw<list>
is that it spells out which version of the list names to use, in some fashion (but I admit I'm weak in this area). I also tried qw(tree) with no apparent difference, in case the angle-brackets versus parentheses made any difference.
HTML-Tree 2 https://github.com/kentfredric/HTML-Tree/issues/2 reported by @XXstack, with replies by @kentfredric and @gregoa.
Test case from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901732
Requires installation of HTML::TableExtract and HTML::ElementTable.
Output: