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,
randy kobes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]