Skip Menu |

This queue is for tickets about the Net-Subnet CPAN distribution.

Report information
The Basics
Id: 98403
Status: new
Priority: 0/
Queue: Net-Subnet

People
Owner: Nobody in particular
Requestors: oleg [...] bulatov.me
Cc:
AdminCc:

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



Subject: AF_INET6 redefined
Date: Fri, 29 Aug 2014 01:53:30 +0400
To: bug-net-subnet [...] rt.cpan.org
From: Oleg Bulatov <oleg [...] bulatov.me>
Net-Subnet-1.03 perl v5.10.1 Constant subroutine Net::Subnet::AF_INET6 redefined at /usr/share/perl/5.10/Exporter.pm line 67. Prototype mismatch: sub Net::Subnet::AF_INET6 () vs none at /usr/share/perl/5.10/Exporter.pm line 67. * Code to reproduce: use strict; use warnings; use Net::Subnet; * Possible code changes: --- Subnet.pm.orig 2014-08-29 01:50:36.709112780 +0400 +++ Subnet.pm 2014-08-29 01:50:55.965360179 +0400 @@ -2,5 +2,5 @@ use strict; -use Socket; +use Socket (); BEGIN { if (defined &Socket::inet_pton) { -- WBR, Oleg Bulatov