Click to See Complete Forum and Search --> : perl files not parsing


swapdude
06-15-2007, 04:55 PM
i did something stupid and all the perl files on my server just show the source code in the browser ...

please help ASAP

thanks

Nedals
06-19-2007, 08:26 PM
Do you really mean source code, (your Perl code) or do you mean HTML code.

If Perl code, then your code is probably not in an executable cgi-bin directory
If HTML code, the you are missing the HTTP header line which must preceed all HTML output.

print "Content-Type: text/html\n\n"; or some such.