Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: merle [...] poczta.onet.pl
Cc:
AdminCc:

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



Subject: Comparision method does not work correctly.
Try: 217.173.192.0/21 is containing 217.173.200.0/21? This networks are not overlapping and method thinks differently. Module version: 1.9007 This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. System: Linux imp2 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux #!/usr/bin/perl use Net::Netmask; my $block = new Net::Netmask ('217.173.192.0/21'); print "Contain = ". $block->contains('217.173.200.0/21')."\n";
I just added a test and do not see the reported behavior.