in reply to Perl Web Client to Interact with Dynamic Web Pages
You could look at using WWW::Mechanize::Firefox or WWW::Selenium. See Using WWW::Selenium To Test Or Automate An Ajax Website, from the tutorials section.