First program

2007-01-08 Thread Dave Moore
Hello list- I've recently decided to learn a programming language, and for reasons beyond the scope of this post I chose Perl. I've read some books, and I decided to make a dice-rolling IRC bot. I wanted to use POE::Component::IRC because it looks really cool.. unfortunately I don't know very muc

First program works now!

2003-03-25 Thread Barb Konings
Thanks for everyone's help. I found the error logs and saw "premature end of script. I added the final comment to the end of the script after END_OF_FILE, made sure to do the upload in ASCII and put the file back in the original CGI-BIN. It works fine now. _

Re: First program not working

2003-03-25 Thread R. Joseph Newton
"Scott R. Godin" wrote: > If you'd read through her entire message you would have seen: > > >>Apache Server - Red Hat 8 Hi Scott, I did read through the message and was fully aware that she was attempting to run this script on an Apache web-server, running on 'nix. This does not mean that the

Re: First program not working

2003-03-25 Thread Rob Dixon
Kevin Pfeiffer wrote: > > If not a permissions problem then perhaps this: > > "By having the EOF here-document at the end of the file I created a > problem for people who edited the file using a text editor that left > the trailing newline off on the last line of the file. A > here-document termina

Re: First program not working

2003-03-25 Thread Scott R. Godin
Barb Konings wrote: > I have checked my books, checked permissions, and am > still having trouble. > > Here is my code in a file named hello.pl. I have a > link to this file off my web page to test it. > (Maybe this part is now right?...) > - - - - - - - - - - - - - - - - - - - - - - > #!/usr/bin

Re: First program not working

2003-03-25 Thread Scott R. Godin
R. Joseph Newton wrote: > Barb Konings wrote: > >> I have checked my books, checked permissions, and am >> still having trouble. >> >> Here is my code in a file named hello.pl. I have a >> link to this file off my web page to test it. >> (Maybe this part is now right?...) >> - - - - - - - - - - -

Re: First program not working

2003-03-25 Thread Kevin Pfeiffer
Barb Konings writes: > I have checked my books, checked permissions, and am > still having trouble. [...] > END_OF_FILE > > - - - - - - - - - - - - - - - - - - - - - - - - If not a permissions problem then perhaps this: "By having the EOF here-document at the end of the file I created a problem

Re: First program not working

2003-03-24 Thread Francesco del Vecchio
I'm not an expert in Perl, and I matched the same kind of problems few days ago. Here you have some suggestion: 1 - Try to run it as simple perl program in the shell (# perl hello.pl) and check for errors or strange output. 2 - Go in the log directory of Apache (etc/httpd/logs) and check the er

Re: First program not working

2003-03-24 Thread R. Joseph Newton
Barb Konings wrote: > I have checked my books, checked permissions, and am > still having trouble. > > Here is my code in a file named hello.pl. I have a > link to this file off my web page to test it. > (Maybe this part is now right?...) > - - - - - - - - - - - - - - - - - - - - - - > #!/usr/bin/

First program not working

2003-03-24 Thread Barb Konings
I have checked my books, checked permissions, and am still having trouble. Here is my code in a file named hello.pl. I have a link to this file off my web page to test it. (Maybe this part is now right?...) - - - - - - - - - - - - - - - - - - - - - - #!/usr/bin/perl # hello.pl print "Conten

Re: First Program ever

2001-11-29 Thread Andrea Holstein
Shane Garza schrieb: > > Not just in perl this is my first program ever. > > I decided to look at perl first while immersed in awe. > > I am posting this code for feedback "and hopefully some positive feedback is > there", I just want to learn ;). So flame a

Re: First Program ever

2001-11-28 Thread John W. Krahn
Shane Garza wrote: > > Not just in perl this is my first program ever. > > I decided to look at perl first while immersed in awe. > > I am posting this code for feedback "and hopefully some positive feedback is > there", I just want to learn ;). So flame a

First Program ever

2001-11-28 Thread Shane Garza
Not just in perl this is my first program ever. I decided to look at perl first while immersed in awe. I am posting this code for feedback "and hopefully some positive feedback is there", I just want to learn ;). So flame away, and try to create the same logic in two lines if you can