Syntactic Confectionery Delight | |
PerlMonks |
Re: Environment variables under mod_perl 2by ysth (Canon) |
on Jun 03, 2009 at 07:42 UTC ( [id://767924]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|