Thread: perl/cgi noob!
View Single Post
Old Sep 4th, 2005, 9:03 AM   #7
theguy0000
Programmer
 
Join Date: Jul 2005
Posts: 73
Rep Power: 4 theguy0000 is on a distinguished road
i don't think there's an error in my script...
print "Content-type: text/html\n\n";
print <<"Walnuts";
Some stuff
I want to have printed...
Walnuts
Eof

it works perfectly when i run it from command prompt on my computer.

edit: ahh i forgot #!/usr/local/bin/perl
theguy0000 is offline   Reply With Quote