-----Original Message----- From: Henk van Ess [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:11 PM To: [EMAIL PROTECTED] Subject: Re: Poll for my site
I just uploaded this VERY simpele script, but whatever I try, it doesn't work. I chmod'ed to 644,655,755,555,666 but it didn't run. What am I doing wrong? Your script runs fine from the commandline. Presuming you are running the script below in a web browser, I've added one line of code: #!/usr/bin/perl # Fig. 2.1: fig02_01.pl # A first program in Perl print "Content-Type:text/html\n\n"; print "Welcome to Perl!\n"; # print greeting Also check that you are running in a directory that allows scripts to execute and that the web server recognizes the script extension. All assuming you are executing through a browser. Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]