having a problem with xitami web server which im using to test perl scripts.
The problem is the server will not display the page if i use the 'here document' metod.
#html goes here
the above won't work! the strangest thing is my perl editor (dzSoft) does'nt have a problem and displays it fine. I can only get a page to work if i use the print "single line at a time"; metod, which of course would take much longer to do.
can anyone help with this? been messing with it all day.
add this before the HTML
print "Content-Type: text/html\n\n";
i don't know if that's the problem- but you usually need to add this...
is xitami configured for perl script?
hope this helps :-)
-take it easy!
yeah, i've got that in.
All the code seems to be fine, i've gone over it time and time again.
I came to the conclusion it might be something to do with the web server software im using.
coz why would it work fine one way and not the other?
Has anyone else had this problem before??
Don't know for sure, but do you think the quotes are throwing off your xitami server? Have you tried this method without the quotes around the filehandle?