Hello,
 
That did it!  I'll make sure to watch for that pointer reference in the future.  The error_log is now clean and the OK message is not appearing on pages.  And if I ever see that in some online venue I'll make sure to pass this info on.
 
Best Regards,
Adolph Torres
[EMAIL PROTECTED]
 
 
----- Original Message -----
From: Randy Kobes
To: Adolph Torres
Sent: 8/21/2003 1:18:51 PM
Subject: RE: ModPerl2/Apache2 - Error handling return codes -RegistryCooker.pm:"Argument "" isn't numeric ...& bottom of web page say:OK the server encounteredan internal .....

On Thu, 21 Aug 2003, Adolph Torres wrote:
 
> Below is the slimmed down script (script1.pl) to reproduce
> the same error.  This script is supposed to accept form
> input of all types (char, boolean, numeric, etc).  Couple
> things to note:  Neither edit changed the error message in
> error_log nor prevented the OK msg from popping up (and I
> did restart httpd). Bummer.  Also, I changed the script to
> not accept input (see script2.pl) - just run through a
> loop and put something onto the screen - and that worked
> fine.
>
> In doing that it became apparent my problem has something to do with
> the $#in  in the foreach
> statement:          foreach $i (0 .. $#in) { ...}
[ .. ]
> --------------------------
> script1.pl
> --------------------------
> #!/usr/bin/perl -w
> print "Content-Type: text/html\n\n";
> use strict;
> our $in;
> our $key;
> our $val;
> our $i;
> our @listing;
> our
> @in;
[ ... ]
>       local (*in) = @_ if @_;
 
Does it help if you comment out this line?
 
--
best regards,
 

 
--- Adolph Torres
--- [EMAIL PROTECTED]
--- EarthLink: It's your Internet.
 

Reply via email to