in reply to web scrap question

This example from the WWW::Mechanize documentation seems to be exactly what you want to do.