dihewidd has asked for the wisdom of the Perl Monks concerning the following question:

IO::Socket::SSL is up to date. However, we get "No socket!" error when running this code:

#!/usr/bin/perl use IO::Socket::SSL; my $socket = IO::Socket::SSL->new( PeerAddr => 'pop.gmail.com', PeerPort => 993, Proto => 'tcp') || die "No soc +ket!"; exit;

Replies are listed 'Best First'.
Re: Does IO::Socket::SSL need to be configured? Doesn't work for me
by syphilis (Archbishop) on Feb 07, 2012 at 00:52 UTC
    Your code proceeds without any error for me ... and I'm not aware of having performed any configuration.

    Is the internet connection ok ?

    Cheers,
    Rob
Re: Does IO::Socket::SSL need to be configured? Doesn't work for me
by zentara (Cardinal) on Feb 07, 2012 at 10:41 UTC
Re: Does IO::Socket::SSL need to be configured? Doesn't work for me
by zwon (Abbot) on Feb 07, 2012 at 13:11 UTC

    What exactly does it say if you add:

    use IO::Socket::SSL qw(debug1);