in reply to Submit Button
You might also want to take a look at WWW::Mechanize for doing this sort of thing.