Hi Monks,
I'm having a bit of difficulty with Net::Netmask. I am not sure if its because I'm doing something wrong, or if the module is not working correctly.
Output:perl -MNet::Netmask my $b = new2 Net::Netmask( '218.0.0.0 - 221.255.255.255' ); if ( $b->match('216.23.234.32') ) { print "Match!\n"; }
Match!
The IP I am trying to match is certainly not within the netblock I have constructed, yet the Netmask object believes that it is. Is this a bug?
In reply to Unexpected behavior with Net::Netmask by ehdonhon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |