in reply to duplicate table with HTML::TreeBuilder look_down method
G'day mazdajai,
Welcome to the Monastery.
In the context of this question, I'll assume "rows" refers to 'tr' elements. Your output only shows one 'tr' element: no duplicates there.
The single 'tr' element contains a number of 'td' elements. All of these are unique except this, which appears twice:
<td align="left" class="AltWarning" height="17"></td>
Accordingly, this 'td' element appears twice in the output.
Due to a lack of expected output, I can't tell what you want to keep and what you want to discard. See How do I post a question effectively? for details on what to provide to get a better answer from us. Here's a couple of guesses.
my %seen; @warnings = grep { ! $seen{$_}++ } @warnings;
-- Ken
|
|---|