http://www.perlmonks.org?node_id=767924


in reply to Environment variables under mod_perl 2

As suggested in someone else's link, use Stas's Env::C module. But make sure you aren't running a threaded mpm. You may want to use ModPerl::RegistryPrefork, which will enforce this as well as doing a chdir to the cgi's directory the way that Apache::Registry did.
  • Comment on Re: Environment variables under mod_perl 2