- 論壇徽章:
- 0
|
安裝IO::Socket::SSL組件【IO-Socket-SSL-1.74.tar.gz】發(fā)送郵件,當(dāng)執(zhí)行到
my $smtp = Net::SMTP::TLS->new($mtahost,Port=>$mtaport,User=>$user,Password=>$passwd);時,提示如下錯誤
invalid SSL_version specified at /usr/lib/perl5/site_perl/5.8.8/IO/Socket/SSL.pm line 308
308行代碼如下:${*$self}{'_SSL_ctx'} = IO::Socket::SSL::SSL_Context->new($arg_hash) || return;
安裝IO::Socket::SSL組件日志如下
perl Makefile.PL
Writing Makefile for IO::Socket::SSL
Writing MYMETA.yml and MYMETA.json
make
Skip blib/lib/IO/Socket/SSL.pm (unchanged)
Manifying blib/man3/IO::Socket::SSL.3pm
make install
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod |
|