I'm using Crypt::SSLeay 0.29 with LWP::UserAgent 1.73.

I'm trying to use a proxy.  As noted in the doc, $us->proxy() doesn't
work.

However, the workaround suggested:

"
      $ENV{HTTPS_PROXY} = 'http://proxy_hostname_or_ip:port';
      $ENV{HTTPS_PROXY} = '127.0.0.1:8080';

    Use of the HTTPS_PROXY environment variable in this way is compatible
    with LWP::UserAgent->env_proxy() usage.
"

Also fails.  Attemptinmg this causes an error of:

Can't use string ("LWP::UserAgent") as a HASH ref while "strict refs" in
use at /usr/lib/perl5/site_perl/5.005/LWP/UserAgent.pm line
 612.

Looking at LWP/UserAgent.pm suggestes that this reaaly needs to be called
with an object reference.

Can anyone help?

thanx,

-- Bob Niederman

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to