in reply to Re^2: How to restore the colors of a webpage when extracting data
in thread How to restore the colors of a webpage when extracting data

"But I am not quite able to figure out how to use HTML::TableExtract to get the table cells as HTML::Element objects."

Really? It's mentioned repeatedly thoughout the HTML::TableExtract documentation (a link I provided yesterday). Within that page, search for the string "HTML::Element" and read every section it appears in (which, by a very brief visual inspection, appears to be all of them except AUTHOR and COPYRIGHT).

-- Ken

Replies are listed 'Best First'.
Re^4: How to restore the colors of a webpage when extracting data
by ghosh123 (Monk) on Jul 17, 2013 at 14:57 UTC

    Well, I was following the instructions in that HTML::TableExtract page. But was not getting anything for the $te->first_table_found call, hence the $table variable was having undefined object and as a result the rest of the code did not run.
    Would be helpful if you can point out my mistakes.