Problems with perl
Posted by: stupidbob306
Posted on: 2006-10-07 15:10:00
I am trying to learn perl. I have gone to the wiki and did the chmod -R perldir (where perldir is the dir the perl script is in) as they said to do but for some reason it still get a 500 error im just doing a simple script that i got off a tutorial to make sure perl worked which is:
#!/usr/bin/perl
print "Content-type: text/htmlnn";
print "<HTML><HEAD>";
print "<TITLE>CGI Test</TITLE>";
print "</HEAD>";
print "<BODY><H2>I just wrote a web page using Perl!</H2>";
print "</BODY></HTML>";
If you know why it is not working could you please help me.
Edited by stupidbob306 on 10/07/06 06:26 PM (server time).