$node->findvalue('tr') or next; $text =~ m/^The following Internet Connections were established/ or next; my @array = $node->findvalues('td/tr');