Hello,

I am completely new to perl and this question may seem really lame, but I can't get 
the most basic script to work.  I am trying to run this on my web host's server:

#!usr/bin/perl

print "Content-type: text/html\n\n";
print "<html><body><h1>Hello World!\n</h1></body></html>";

I then try to access the script by providing the full path to it in the address bar of 
my browser.  I have set the mode of the above file to 755 and am using the proper path 
to perl according the the web host.  I have written a perl script to handle form 
input, but if I can't get the above to work, the form processor is useless.  Is this a 
problem with the web host or am I missing something in the way I am trying to output 
content to the web page?

Dale

Reply via email to