Subject: | If no tables were found, then method first_table_state_found returns an unblessed hash |
Using HTML::TableExtract 1.08, HTML::Parse 3.36, Perl v5.8.1-RC3.
Create a TableExtract object, specifying a table in any way you wish. Call parse_file with HTML code that doesn't include such a specified table. Then, call first_table_state_found(). The function is supposed to return a TableState object, but it instead returns an unblessed, empty hash. This is unexpected, and takes some work to check for; it would be much better if first_table_state_found() had returned undef, or perhaps even a TableState object that knew it didn't refer to a table.