in reply to perl - html

Your code works fine for me.

Have you checked that the script is executable, and that your webserver is correctly configured to execute CGI scripts?

That aside, if you intend to start writing CGI scripts with Perl, then you'll be wanting to learn all about the CGI module. A good starting point for beginners is ovid's CGI course

Good luck!
Darren :)