Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Why might Perl allow for http websites using TOR but not https?

by census (Initiate)
on Mar 21, 2013 at 18:19 UTC ( #1024796=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $mech = WWW::Mechanize->new();
    $mech->proxy(['http', 'https'], 'socks://localhost:9150');
    $mech->get("https://www.google.com");
    
  2. or download this
    cpan LWP::UserAgent
    ppm install LWP::Protocol::https
    ...
    ppm install IO::Socket::SSL
    ppm install Crypt::SSLeay
    cpan Crypt::SSLeay
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-08-23 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (169 votes), past polls