Skip Menu |

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

Report information
The Basics
Id: 89431
Status: resolved
Priority: 0/
Queue: Net-Google-SafeBrowsing2

People
Owner: Nobody in particular
Requestors: CELOGEEK [...] cpan.org
Cc:
AdminCc:

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



Subject: Wrong dependency on Net::IPAddress
Here with you try to install Net::IPAddress : https://metacpan.org/module/Net::IPAddress This is a module with -ppm.zip extension, and completly buggy. May be you can use this instead : https://metacpan.org/module/Net::IPAddress::Util Thanks.
Since the only thing the module is being used for is converting a decimal number to an ip address, you can instead use the perl core Socket module: Socket::inet_ntoa(Socket::inet_aton($num)) The existing code also uses validaddr on the result, but given how num2ip works, it will always the check will never fail.