in reply to Forms
For a nice simple example read perldoc CGI. The synopsis section is pretty much what you want.