Skip to main content.
home | support | download

Back to List Archive

Re: Missing bracket

From: Dennis Daupert <ddaupert(at)not-real.csc.com>
Date: Thu Jan 02 2003 - 19:21:07 GMT
Bill Moseley said:
>>      Variable "$DEFAULT_CONFIG_FILE" will not stay shared at
>> /usr/local/apache/perl/swishdir/swish.cgi line 142.

> Are you running the script under mod_perl with Apache::Registry by
chance?
> That message happens when code gets wrapped inside of an outer
subroutine.

> And if so, you don't need to run it as an Apache::Registry script -- just
> run it as a mod_perl handler.

That helps, thanks Bill! I moved the script to the cgi-bin, pulling
mod_perl
and Apache::Registry out of the equation, and it ran fine. I got no
"variables
will not stay shared" nor any "missing bracket" msgs. I'll look into
running it
as a handler. I appreciate the tip.

/dennis
Received on Thu Jan 2 19:21:18 2003