The #!/usr/bin/perl string implies that you are on a UNIX OS. In that context...a few <br>thoughts....<br><br>Once you have fixed the top line of the program, try <br>perl -c yourProgramName.cgi <return><br><br>That will do a syntax check on your code and barf on you if it has problems. If it does not complain, then your syntax is OK.<br><br>Make sure the execute bit(s) are set so the web daemon can run the code. If you don't understand this, ask and I will elaborate.<br><br>Make sure your code is in a directory which your web server recognizes as legal for <br>executable code. Usually,........./httpd/cgi-bin/someSubDir/ or something like that downstream on the http/cgi-bin path.<br><br>Additionally, this is not meant to be insulting ( I don't know everything either) but, the nature of your question indicates a fairly shallow knowledge of PERL and CGI. Note, those are two completely separate topics. Try SAMs "teach yourself CGI Programming with Perl 5 in a week". It is fairly straight forward with enough perl and enough CGI to get you on your feet. Be aware that playing around in CGI with an insufficient understanding of the security issues can get you in a bad way. Security is an issue.