Thread IO::Socket::SSL und require (18 answers)
Opened by bianca at 2015-04-14 17:10

bianca
 2015-04-15 17:10
#180682 #180682
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
2015-04-15T08:22:50 Raubtier
Lösungsmöglichkeit:
SSL_VERIFY_CLIENT_ONCE() mit () verwenden


So?

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/perl
use strict;
use warnings;
use Net::FTP;

require IO::Socket::SSL;

my $ftp = Net::FTP->new(
    'irgendeinurl',
    SSL_verify_mode => SSL_VERIFY_CLIENT_ONCE(),
);


Wirft:
Quote
Undefined subroutine &main::SSL_VERIFY_CLIENT_ONCE called at test.pl line 9.
10 print "Hallo"
20 goto 10

View full thread IO::Socket::SSL und require