in reply to A tale of LWP::UserAgent, Crypt::SSLeay and mod_perl
It might be useful for you to post the actual snippet. There might be a simple explanation that someone might spot right away if they could see the code.
Or not...