in reply to Pressing buttons in html pages

In addition - WWW::Mechanize and especially form methods section may help you.