in reply to A tale of LWP::UserAgent, Crypt::SSLeay and mod_perl

Have you checked to see if that environment variable is set in your mod_perl program? You may have to use PerlPassEnv or something similar. You should also check the permissions to make sure the user your mod_perl server runs as can read that file, although the backticks experiment would point to yes.
  • Comment on Re: A tale of LWP::UserAgent, Crypt::SSLeay and mod_perl

Replies are listed 'Best First'.
Re^2: A tale of LWP::UserAgent, Crypt::SSLeay and mod_perl
by skyknight (Hermit) on Feb 10, 2006 at 03:57 UTC
    As I mentioned, I dumped the contents of %ENV and it indeed contains what I expect. Also, I've tried setting it in the body of the handler package, in the handler method, and in the Apache config file.
      I'd suggest using the debugger on it at this point. Then you'll be able to see why it isn't taking the branch you expect it to.