Skip Menu |

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

Report information
The Basics
Id: 6740
Status: resolved
Priority: 0/
Queue: Net-Netmask

People
Owner: Nobody in particular
Requestors: roger.yager [...] eyestreet.com
Cc:
AdminCc:

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



Subject: Using a range of IP addresses ( $ip - $ip) fails
Using the following section of code: Show quoted text
------ begin code ------ #!/usr/bin/perl use Net::Netmask; $ip = '192.168.1.1 - 192.168.1.10'; $block = Net::Netmask->new($ip);
----- end code ----- I receive the error: "could not find exact fit for 192.168.1.1 - 192.168.1.10 at C:\test\x.pl line 7"
Date: Thu, 24 Jun 2004 12:02:25 -0700 (PDT)
From: David Muir Sharnoff <muir [...] idiom.com>
To: bug-Net-Netmask [...] rt.cpan.org
Subject: Re: [cpan #6740] Using a range of IP addresses ( $ip - $ip) fails
RT-Send-Cc:
* This message about Net-Netmask was sent to you by guest <> via rt.cpan.org * * Full context and any attached attachments can be found at: * <URL: https://rt.cpan.org/Ticket/Display.html?id=6740 > * * Using the following section of code: * ------ begin code ------ * #!/usr/bin/perl * * use Net::Netmask; * * $ip = '192.168.1.1 - 192.168.1.10'; * * $block = Net::Netmask->new($ip); * ----- end code ----- * * I receive the error: * "could not find exact fit for 192.168.1.1 - 192.168.1.10 at C:\test\x.pl line 7" This is not a bug. "192.168.1.1 - 192.168.1.10" represents a range of IP addresses but it does not represent a valid netblock. -Dave