Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2021-04-21 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?