in reply to a Perl question

Try using CGI.pm to retrieve your form values. Here's an example.