The environment variable is part of the CGI interface. If your script is being provided a CGI interface, it will be present. Otherwise, it won't.
mod_perl doesn't necessarily present a CGI interface to your module, but it doesn't preclude it either.
In reply to Re^5: How to parse URL in CGI.pm
by ikegami
in thread How to parse URL in CGI.pm
by asafp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |