For a nice simple example read perldoc CGI. The synopsis section is pretty much what you want.
In reply to Re: Forms by Molt in thread Forms by Anonymous Monk