Subject: | perl 5.12.RC0::Socket causes warnings |
I've been chasing a bug that seems to propagate warnings from this module into everything
that uses it.
All that is required is to compile perl 5.12.0 and then run:
$>perl -we 'use IO::Socket::INET6'
Subroutine IO::Socket::INET6::inet_ntop redefined at
/usr/local/cpanel/lib/perl5/5.12.0/Exporter.pm line 64.
at /usr/local/cpanel/lib/perl5/site_lib/IO/Socket/INET6.pm line 21
Subroutine IO::Socket::INET6::inet_pton redefined at
/usr/local/cpanel/lib/perl5/5.12.0/Exporter.pm line 64.
at /usr/local/cpanel/lib/perl5/site_lib/IO/Socket/INET6.pm line 21
Some background on this issue:
During development for perl 5.12, This commit added inet_pton inet_ntop to the default
export list for Socket.
http://perl5.git.perl.org/perl.git/commitdiff/4411113f31b3f00171bb335092b02104d29d7c
d7
I discovered this yesterday and reported it on p5p. It looks like a patch to this module would
probably be the best solution. I was hoping you could look at the issue.
Here is the conversation:
http://groups.google.com/group/perl.perl5.porters/browse_thread/thread/3ef6d32b1b907
daf