Hi experts,
I'm new to Perl-HTML things. I'm trying to fetch both the texts and links from a HTML table.
Here is the HTML structure:
<td>Td-Text
<br>
<a href="Link-I-Want" title="title-I-Want">A-Text</a>
</td>
I've figured out that WWW::Mechanize is the easiest module to fetch things I need from the <a>
part, but I'm not sure how to get the text from <td>
. I want the two tasks happen back-to-back because I need to pair each cell's <td>-Text
with its corresponding <a>-Text
in a hash array.
Any help will be much appreciated!
Z.Zen