### Psuedocode, mostly #!/usr/bin/perl -wT use strict; use CGI; my $q=CGI->new(); if($q->param('submit')){ #The "submit" param would come from a default submit button #Use some other parameter if it makes sense to you, like "problem description". #Any field that's submitted by your form should work. #Print thank you page, however you want. } else { #No parameter was submitted, so that must mean this #is a new request. #print your page for submitting the help desk request. #and do your post-processing. }