CGI displays contents of script
- From: jackson_samson@xxxxxxxxxxx
- Date: Tue, 31 Jul 2007 11:38:00 -0700
I have installed perl 5.8.8 which already has the CGI included in it.
I created a small test script that uses the CGI.pm. When I run the
following in my browser, it shows me the entire script and does not
execute the script. Does anyone know why this happens?
Here is my output from the web browser:
#!/usr/bin/perl use CGI; print "Content-type: text/plain\n\n"; print
"TEST";
.
- Follow-Ups:
- Re: CGI displays contents of script
- From: Gunnar Hjalmarsson
- Re: CGI displays contents of script
- From: Paul Lalli
- Re: CGI displays contents of script
- Prev by Date: Re: How do you continue in a for loop?
- Next by Date: Re: Using DBI, better option than importing into @array
- Previous by thread: How do you continue in a for loop?
- Next by thread: Re: CGI displays contents of script
- Index(es):
Relevant Pages
|