> > > > > Is $ENV{foo}='bar'; in startup.pl equivalent to
> > PerlSetEnv foo bar
> > > > > in httpd.conf?
> > > >
> > > > Yes.
>
> well, not exactly. PerlSetEnv sets the subprocess_env table.
> as a side effect of that, you get PerlSetEnv values in %ENV
> if you have PerlSetupEnv On. The other way to look at it is
> that anything set with PerlSetEnv is always accessible via
> $r->subprocess_env, but not necessarily with %ENV.
scratch that - too early in the morning :) I have no idea what I was
talking about
I'll just keep quiet now...
>
> > >
> > > Are you sure? I experimented a few months ago, and found that
> > > $ENV{foo}='bar'; would only last in each child until the
> > first request
> > > of the child completed.
>
> that's a bug
>
> http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=995652277
11585&w=2
that's still true, though :)
--Geoff