What modules need to install to connect to https using perl


Read With Formatting | Free Open Source Tutorials Account

Perl Programming
Thread: What modules need to install to connect to https using perl


talanki
experts,

I need to connect to a HTTPS server and post the xml stream. I don't have any

problems with HTTP using LWP module, but when I ise the same for HTTPS it failed

with msg "Failed: 501 Protocol scheme 'https' is not supported".

Please let me know which modules i need to install and where I can download

those. Also provide stesp to install these modules.

I appreciate your help.

wolfpp25
try this IO::All::HTTPS

oram
Hello,

I'm trying to compile the HTTPS module but I'm getting the following errors.
The prerequisites IO:ALL and LWP are installed.

The prerequisites:

IO::All - IO::All of it to Graham and Damian!
IO::All::LWP - IO::All interface to LWP

compile without issue. However, at the 'make test' stage of compiling the
HTTPS module I get the following error:

silversurfer:/Users/nick/Desktop/perl/IO-All-LWP-0.12 root# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/ftp.......String found where operator expected at
/Users/nick/Desktop/perl/IO-All-LWP-0.12/blib/lib/IO/All/LWP.pm line 12,
near "field 'response'"
(Do you need to predeclare field?)
String found where operator expected at
/Users/nick/Desktop/perl/IO-All-LWP-0.12/blib/lib/IO/All/LWP.pm line 13,
near "field 'content'"
(Do you need to predeclare field?)
String found where operator expected at
/Users/nick/Desktop/perl/IO-All-LWP-0.12/blib/lib/IO/All/LWP.pm line 14,
near "field 'put_content'"
(Do you need to predeclare field?)
t/ftp.......NOK 1# Failed test (t/ftp.t at line 3)


I don't understand why it is complaining about the 'field' operator

levelup
... is really useful for me, I am glad to read it here.