Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I've been programming perl for *years*. Maybe I'm just tired or something, but I am not able to get my program to execute. I thought that maybe the first line in the program was wrong but I tried both #!/usr/bin/perl and #!/user/local/bin/perl. in both cases when I enter the path to the script in the browser, I can see my perl code and not the execution.
Any suggestions? Here is the (very simple code):
#!/usr/bin/perl #testing print "Content-type: text/html\n\n"; print "Welcome!";
|
|---|