Apache running perl scripts

2002-01-10 Thread rabs
Hi All Apologies as this is not strictly a perl question, Im trying to install an apache websever onto a WIN95 system. I have managed to successfully install it so far as it runs under the the URL http://127.0.0.1/ but will not run when I type http://localhost. I am running Apache 1.3.20

Another simple program which wont work.

2002-01-12 Thread rabs
Hi everyone Im trying to get this script to work, I am wondering if anyone in this group can help me. #!/usr/bin/perl-w use strict; @a= (1, 2, 3, 4); foreach $word(@a){ print $word ; } When I run this script I get the following error messages, can you explain in simple english they mean . A

Another simple program which doesnt work.

2002-01-12 Thread rabs
This newsgroup is great. I am learning alot from just reading the post here. I hope someone will be able to help with this query. - #!/usr/bin/perl-w print "please enter a word then press enter\n"; @a= ; $L =@a; for ($i=0; $i<=$L; $i++){ print $a[$i]; } print "\n there are $L varib

Re: Another simple program which doesnt work.

2002-01-13 Thread rabs
OK this listserve is great ;) thanks - Original Message - From: "Gary Hawkins" <[EMAIL PROTECTED]> To: "rabs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, January 13, 2002 2:43 AM Subject: RE: Another simple program which doesnt work

I cant run perl from the dos command line

2002-01-18 Thread rabs
I am running ActivePerl 5.61.629 on Windows 98. It worked fine until yesterday but now I can't run any scripts from the DOS command line. I have attempted to run the example.pl script C:Perl\eg>perl example.pl I get the error message. Bad command or file name However the CGI bin on my Xitami