Help for this page

Select Code to Download


  1. or download this
    my $socket = IO::Socket::SSL->new(
        PeerAddr        => $host,
        PeerPort        => 9094,
    ...
        SSL_key_file    => './key.pem',
        SSL_cert_file   => './cert.pem',
    ) or die "failed to connect: $SSL_ERROR"
    
  2. or download this
    use v5.22;
    use strictures 2;
    ...
        }
      }
    }