prabhuksmani has asked for the wisdom of the Perl Monks concerning the following question:
I'm new to perl, I'm working in windows Xp environment, I want to acess a https sites. I found LWP Module supports to access http sites via OpenSSL and Crypt::Ssleay.
I downloaded and installed OpenSSL in c:\openssl and i installed Crypt::Ssley module too.
Perl Command Line Interpreter shows a error report that ssleay32.dll encounters a problem.
Please help me to solve the problem or any other approach to acess the https sites.
code part:
advance thanks to all monks. with regards Prabhu.S.M prabhuksmani@gmail.com#!/usr/bin/perl use LWP 5.64; my $url = 'https://www.paypal.com/'; # Yes, HTTPS! my $browser = LWP::UserAgent->new; my $response = $browser->get($url); die "Error at $url\n ", $response->status_line, "\n Aborting" unless $response->is_success; print "Whee, it worked! I got that ", $response->content_type, " document!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Accessing HTTPS Sites
by gube (Parson) on Mar 13, 2006 at 07:03 UTC | |
|
Re: Accessing HTTPS Sites
by McDarren (Abbot) on Mar 13, 2006 at 06:15 UTC | |
by onlyakhila (Initiate) on Jul 16, 2007 at 15:59 UTC |