Subject: | IO::Socket::SSL emits warnings when it uses Socket6 |
Currently IO::Socket::SSL emits warnings when it uses Socket6.
It would be nice that IO::Socket::SSL silences these warnings.
With perl 5.14.4:
```
❯ perl -v
This is perl 5, version 14, subversion 4 (v5.14.4) built for darwin-2level
❯ cpanm -nq IO::Socket::SSL Socket6
Successfully installed ExtUtils-MakeMaker-7.34 (upgraded from 6.57_05)
Successfully installed Net-SSLeay-1.85
Successfully installed Mozilla-CA-20180117
Successfully installed IO-Socket-SSL-2.056
Successfully installed Socket6-0.28
5 distributions installed
❯ perl -MIO::Socket::SSL -e1
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICHOST: none vs () at /Users/skaji/env/plenv/versions/5.14.4/lib/perl5/5.14.4/constant.pm line 136.
Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICSERV: none vs () at /Users/skaji/env/plenv/versions/5.14.4/lib/perl5/5.14.4/constant.pm line 136.
```
With perl 5.16.3
```
❯ perl -v
This is perl 5, version 16, subversion 3 (v5.16.3) built for darwin-2level
❯ cpanm_ -nq IO::Socket::SSL Socket6
Successfully installed Net-SSLeay-1.85
Successfully installed Mozilla-CA-20180117
Successfully installed IO-Socket-SSL-2.056
Successfully installed Socket6-0.28
4 distributions installed
❯ perl -MIO::Socket::SSL -e1
Constant subroutine IO::Socket::SSL::NI_NUMERICHOST redefined at /Users/skaji/env/plenv/versions/5.16.3/lib/perl5/5.16.3/constant.pm line 151.
Constant subroutine IO::Socket::SSL::NI_NUMERICSERV redefined at /Users/skaji/env/plenv/versions/5.16.3/lib/perl5/5.16.3/constant.pm line 151.
```