Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: LWP and HTTPS

by Gangabass (Vicar)
on Apr 26, 2014 at 13:44 UTC ( #1083936=note: print w/replies, xml ) Need Help??

in reply to Re: LWP and HTTPS
in thread LWP and HTTPS

I tried $ENV{HTTPS_VERSION} = 3; because curl -3 $URL is working but my Perl code still return same error :-(

Replies are listed 'Best First'.
Re^3: LWP and HTTPS
by Corion (Pope) on Apr 26, 2014 at 16:35 UTC

    If you want to set up the environment, either do so outside your script, or at least, before the SSL modules are loaded:

    BEGIN { $ENV{ HTTPS_VERSION }= 3; }; use WWW::Mechanize;
      This will not work because $ENV{ HTTPS_VERSION }= 3; is the default value :-(

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083936]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2020-05-26 18:05 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (150 votes). Check out past polls.