folks
I am using MAC OSX and perl is embedded in it.
All i want to do is to create a webpage from a perl script
Here is my script
#!/usr/bin/perl -w
print ("Content-type:text/html\n\n");
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>";
The html page can be seen at
http://kiwi.atmos.colostate.edu/test/cgi-bin/"perltext.cgi"
Why is there a problem??
Thanks
I am using MAC OSX and perl is embedded in it.
All i want to do is to create a webpage from a perl script
Here is my script
#!/usr/bin/perl -w
print ("Content-type:text/html\n\n");
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>";
The html page can be seen at
http://kiwi.atmos.colostate.edu/test/cgi-bin/"perltext.cgi"
Why is there a problem??
Thanks