Skip Menu |

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

Report information
The Basics
Id: 25872
Status: resolved
Priority: 0/
Queue: Net-IP

Owner: cpan [...]
Requestors: fugich [...]

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

Subject: iptab problem and solution
Date: Tue, 27 Mar 2007 15:58:58 +0100
To: bug-Net-IP [...]
From: fugich <fugich [...]>
Download NETpatch
application/octet-stream 322b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 662b
Hi iptab as of Net-IP 1.25 does not work on a number of machines that I have, the problem has been tracked down the IP->size() function. This fails when supplying the ip After discussions we believe that this is a valid ip so the following solution is thought to be the right way to go about things, to put it in line with the old version. The function which is the root cause of the problem is the IP->intip() function. This errors as it checks (!$int) (line 412), we propose that the line should be replaced with ($int eq "") as in the attached patch. This means that if the ip is used 0 is returned rather than an error occurring. fugich
This is fixed in 1.27. Thanks for the report!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to