HTML::TableExtract is a module that simplifies the extraction of information contained in tables within HTML documents, either as text or encoded element trees. . For extracting a tree structure of element objects, the additional package libhtml-element-extended-perl might be needed.