i'm trying to test my cgi script a simple one
but i don't seem to be able to run this script from cpan
Expand|Select|Wrap|Line Numbers
- #!/perl/bin/perl
- use strict;
- $q = new CGI; # create new CGI object
- print $q->header, # create the HTTP header
- $q->start_html('hello world'), # start the HTML
- $q->h1('hello world'), # level 1 header
- $q->end_html; # end the HTML
and in my error logs i got:
C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/1.cgi is not executable; ensure interpreted scripts have "#!" first line
(9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/1.cgi
pls help?