开发者

Why is Perl's IO::Socket::SSL->new() failing?

When I execute this line:

$client = IO::Socket::SSL->new("pilot-payflopro.paypal.com:443");

my IO::Socket::SSL::errstr开发者_C百科() is

configuration error
failederror:00000000:lib(0):func(0):reason(0)

my $! is 'invalid argument'

Has anyone run into this before?


It's a gethostbyname failure: the domain "pilot-payflopro.paypal.com" doesn't exist. You need a working hostname like payflow.verisign.com or what not. Read the documentation again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜