On Wed, 27 Sep 2000, Keith G. Murphy wrote:
 
> Upon further investigation, what I am seeing is that PERL5LIB gets
> passed into %ENV just fine.  It's just not being used to locate modules;
> it is not in @INC.  Could the part of Perl that pushes the PERL5LIB
> setting to @INC have already executed prior to my PerlSetEnv statement?

i don't think so, it's set by mod_perl.c on every request, in
perl_per_request_init():
    /* SetEnv PERL5LIB */
    if (!MP_INCPUSH(cld)) {
        char *path = (char *)table_get(r->subprocess_env, "PERL5LIB");

        if (path) {
            perl_incpush(path);
            MP_INCPUSH_on(cld);
        }
    }

what version of mod_perl are you using?

Reply via email to