You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jeff Trawick <tr...@gmail.com> on 2012/07/26 17:24:49 UTC

Any reason to have SetEnv/PassEnv PERL5LIB for mod_perl .conf configuration?

(Not PerlSetEnv, just plain SetEnv)

I saw this in a .conf snippet for configuring mod_perl but AFAIK this
would only be used by external CGI processes that needed that to find
the right Perl.

TIA!

Re: Any reason to have SetEnv/PassEnv PERL5LIB for mod_perl .conf configuration?

Posted by Randolf Richardson <ra...@modperl.pl>.
> (Not PerlSetEnv, just plain SetEnv)
> 
> I saw this in a .conf snippet for configuring mod_perl but AFAIK this
> would only be used by external CGI processes that needed that to find
> the right Perl.
> 
> TIA!

	It could be useful when spawning a sub-process that makes use of 
environment variables, such as a shell script or a binary.

Randolf Richardson - randolf@inter-corporate.com
Inter-Corporate Computer & Network Services, Inc.
Beautiful British Columbia, Canada
http://www.inter-corporate.com/