When I run a program using LWP::UserAgent
(that worked until now) I get the error message
501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)
But when I run cpan
it says LWP::Protocol::https
is installed:
cpan[1]> install LWP::Protocol::https
Reading '/Users/yannis/.cpan/Metadata'
Database was generated on Sun, 27 Sep 2020 12:56:00 GMT
LWP::Protocol::https is up to date (6.09).
What can I possibly be doing wrong?
I solved the problem by installing Net::SSLeay
and IO::Socket::SSL
.
A pity LWP::Protocol::https
cannot emit a warning asking the user to install those two…
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.