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