Thank you for your suggestions. I tried both
`echo "hello world" > test.txt`;
and
`env > environment.txt`;
but no files were created.
I believe that Linux is truly refusing to start a Perl
interpreter.
I forgot to mention that this script only fails in the
cgi-bin
directory but seems to work in all other directories.
Perhaps there
is some interaction between the Apache webserver and the
Linux
shell. (The httpd.conf file specifies that the Apache
webserver
should run scripts in the cgi-bin directory. "Option
ExecCGI")
I have not yet tested whether the webserver will properly
launch CGI
scripts. I first wanted to make sure that Perl works --
which it
does except for in the cgi-bin directory! Weird stuff.
Perhaps I
can work around this by simply keeping my scripts outside
the cgi-bin
directory.
Eric
Unsubscribing info is here: h
ttp://help.yahoo.com/help/us/groups/groups-32.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://g
roups.yahoo.com/group/perl-beginner/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http
://groups.yahoo.com/group/perl-beginner/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:perl-beginner-digest@yahoogroups.com
mailto:perl-beginner-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
perl-beginner-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|