in reply to HTML::Element method as_text() not performing as expected on <td> elements

Shouldn't that be

@tds = $tbodies[0]->find('td'); # meaning find the tds in the the first element from the list of tbodys

Using use strict; and use warnings; would help.