in reply to md5 question
Where's your code?
In case you haven't started yet and need a pointer from where to go, use WWW::Mechanize. It abstracts web automation and form handling nicely.