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
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.
_
"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
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
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
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?...)
>> - - - - - - - - - - -
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
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
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/
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
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
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
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
13 matches
Mail list logo