shug94 has asked for the wisdom of the Perl Monks concerning the following question:
Is it possible to use LWP::UserAgent to send an HTTP Request using TLS? Will simply sending to a url starting with https:// work? If not is there a way? Or should I just abandon this idea, and switch to some other perl module?
I am trying to add some secure communications using TLS to some perl code which currently only uses LWP::UserAgent and I thought it would be more elegant if I could continue to use it.
Encryption support is obtained through the use of Crypt::SSLeay or
IO::Socket::SSL, which can both be found from CPAN. While libwww-perl
has "plug-and-play" support for both of these modules (as of v5.45),
the recommended module to use is Crypt::SSLeay.