Bob Niederman wrote:
>
> 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.
>
LWP::UserAgent->() notation was just talking about the method call...
did you try setting $ENV{HTTPS_PROXY} directly? Note to use LWP
calls, you need to create an LWP object.
--Josh
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]