According to the mod_perl docs,
PerlSetEnv allows you to specify system environment variables and pass them into your mod_perl handlers. These values are then available through the normal perl %ENV mechanisms.
Apparently, it's set for all mod_perl handlers, not just for the "CGI environment during a request cycle". (Is that a weird way of saying Apache::Registry?)
Likeless: technically, the startup script is not a handler. The var might not be set for it. You are checking for the var in %ENV, right? You might want to ask your question on the mod_perl mailing list. That might even be something they'd want to fix.
In reply to Re^2: PerlSetEnv and PerlRequire
by ikegami
in thread PerlSetEnv and PerlRequire
by Likeless
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |