Re: need help on searching through a parsed HTML table(used HTML::TableExtract)
Suppose I get this table after I parse a HTML:
Name:General Test
Address:0x0
target:N
Bits Description
9 Error_in_buffering
7 Error_in_sight
8 OverFlow_control
0 flow_test_0
(bit and decription are two separate columns I could not find a way to display it as such)
What I wanna do is if the user inputs error, flow in the command line I should be able to generate
Error_in_buffering bit:9 Name : general test address:0x0
Error_in_sight bit:7 Name : general test address:0x0
OverFlow_control bit:8 Name:general test address:0x0
Note:Name ,Target, address table is always above the bit description table
So there are multiple tables like these pair
general outlook:
-there are multiple tables which have been parsed now I have to take user input to search for the keyword and find the corresponding bit,name,address,target
I could do keyword search easily if I turn the parsed output into a text file but since I need to have the corresponding and the information(name,target,address) from the corresponding table right above I have to parse it in a table format or in other words I have to do the program from HTML::TableExtract itself.
So all I want to know is how to get the parsed html output as a data structure instead of plain text so that I can interact with the parsed data. If there is some easier way to do this I would appreciate your kindness
Thanks for the reply I appreciate.
error_in_buffering bit::9