bcochofel,
I was searching for an example to show a curious friend of mine and I found
a linux magazine article (PDF warning) which should be a good starting point. Since you say that you are new to Perl you should check out the
Tutorials section of this site, which has
various CGI tutorials including
Ovid's great
CGI primers.
Hope this helps.
Martin