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

Re^2: LWP and HTTPS

by Gangabass (Vicar)
on Apr 26, 2014 at 13:44 UTC ( [id://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 (Patriarch) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found