I had a stab at
answering when you asked
previously. The
HTML::Element docs have a lot of examples and there is a good overview in
HTML::Tree and
HTML::Tree::Scanning.
Have a look at the tutorials that come with Perl:
Update
Added link to
HTML::Tree::Scanning which, as kindly pointed out by
jdporter, discusses the look_down method.