Skip Menu |

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 95881
Status: resolved
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: tmh.cpan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.988
Fixed in: 2.056



Subject: Warnings @ line 231: Constant subroutine redefined & Prototype mismatch
The following oneliner throws 4 warnings in Strawberry Perl v5.18.2 and IO::Socket::SSL v1.988 perl -MIO::Socket::SSL -e "1" Constant subroutine IO::Socket::SSL::NI_NUMERICHOST redefined at C:/strawberry/perl/lib/Exporter.pm line 66. at C:/strawberry/perl/site/lib/IO/Socket/SSL.pm line 231. Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICHOST () vs none at C:/strawberry/perl/lib/Exporter.pm line 66. at C:/strawberry/perl/site/lib/IO/Socket/SSL.pm line 231. Constant subroutine IO::Socket::SSL::NI_NUMERICSERV redefined at C:/strawberry/perl/lib/Exporter.pm line 66. at C:/strawberry/perl/site/lib/IO/Socket/SSL.pm line 231. Prototype mismatch: sub IO::Socket::SSL::NI_NUMERICSERV () vs none at C:/strawberry/perl/lib/Exporter.pm line 66. at C:/strawberry/perl/site/lib/IO/Socket/SSL.pm line 231. The module still works, and I was successfully able to use Email::Gmail::Send after the upgrade to this latest version. Full specs: System: Windows 7 SP1 Perl: Strawberry Perl 5.18.2 IO::Socket::SSL - v1.988 Socket - v2.013 (because they're relevant to the line number) Socket6 - v0.25 Regards, - Miller
Am Do 22. Mai 2014, 18:44:34, TMHALL schrieb: Show quoted text
> The following oneliner throws 4 warnings in Strawberry Perl v5.18.2 > and IO::Socket::SSL v1.988 > > perl -MIO::Socket::SSL -e "1"
Thanks for reporting the problem. It should be fixed with 1.989. Regards, Steffen
On Sat May 24 04:11:07 2014, SULLR wrote: Show quoted text
> Am Do 22. Mai 2014, 18:44:34, TMHALL schrieb:
> > The following oneliner throws 4 warnings in Strawberry Perl v5.18.2 > > and IO::Socket::SSL v1.988 > > > > perl -MIO::Socket::SSL -e "1"
> > Thanks for reporting the problem. > It should be fixed with 1.989. > > Regards, > Steffen
I am seeing this in 2.056: % perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION' 2.056 % perl -v This is perl 5, version 18, subversion 1 (v5.18.1) built for i686-linux %perl script.pl Constant subroutine IO::Socket::SSL::NI_NUMERICHOST redefined at /usr/local/lib/perl5/5.18.1/constant.pm line 140. Constant subroutine IO::Socket::SSL::NI_NUMERICSERV redefined at /usr/local/lib/perl5/5.18.1/constant.pm line 140.
Show quoted text
> > I am seeing this in 2.056:
This is a duplicate to https://rt.cpan.org/Public/Bug/Display.html?id=124963, To cite from there: Show quoted text
> This happens only if Socket6 is installed but neither IO::Socket::INET6 nor IO::Socket::IP. > Fixed in commit 256ed29.