in reply to HTML::TableExtractor and embedded columns

Could anyone please point to a mistake in the code?

Ask yourself these questions (and answer them)
is the problem what tableextract gives you ($row)? What is $row?
Or is the problem what you give to load ($row)? What does load do?

If you divorce the two (tableextract and text::table), and you employ ddumperBasic debugging checklist, you can figure out the problem

As I see it, either tableextract doesn't give you everything, or load() isn't the same as add()

I suspect load() isn't the same as add() , because load means replace, and add means extend :)

  • Comment on Re: HTML::TableExtractor and embedded columns

Replies are listed 'Best First'.
Re^2: HTML::TableExtractor and embedded columns
by Kyshtynbai (Sexton) on Mar 17, 2014 at 19:24 UTC
    I've already used Data::Dumper to find out where it breaks. And it breaks before load method is called. So it seems that tableextract doesn't parse the rest of td's :(. I can't figure out why, however. Gotta think more.