in reply to Help extracting tables from an html file

It looks like your code is a lot like the example in the HTML::TableContentParser documentation.

Unfortunately, there are enough differences that your version doesn't work. The second line of code opens the file you're interested in, but you never read from the file. Later on, you pass the filename into the method that's supposed to be parsing HTML. I don't think file.html is valid HTML, let along a table in HTML, so I'm not surprised you get nothing.

Start again, read the documentation carefully, and call the module as the documentation directs. let us know how you get along.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds