I am having problems running simple perl scripts on my home system.
I want to write a script that uses a browser to display a string or something.
There is a test.cgi file that is on my system in my cgi-bin directory. When I run it, it says that it worked, and then displays the environment variables. So I know that it is working for that.
The problem is that when I write my own perl file, it says there is a system error(#500). I have only asked it to display a simple hello workd test line. Is there something that I am doing wrong. Here is the code that I used.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World.\n";
I have checked the path to perl, and it is correct. Also, this file is located in the cgi-bin directory, so it should run.
Can anyone help me with this problem.
Thanks,
Craig.
