NetAddr-IP reviews

cpanratings
 

RSS | Module Info | Add a review of NetAddr-IP

NetAddr-IP (4.058) *****

Re: request for...
NetAddr::IP::isMask to validate string as a mask from any notation "contiguous 1's on the left followed by contiguous 0's to the right"

See the sub-module NetAddr::IP::Util function "notcontiguous"

usage:

$ip = NetAddr::IP->new("some address");

($spurious,$cidr) = notcontiguous($ip->{mask});

This function counts the bit positions remaining in
the mask when the rightmost '0's are removed.

input: 128 bit netmask

returns true if there are spurious

zero bits remaining in the

mask, false if the mask is

contiguous one's,

128 bit cidr number

NetAddr-IP (4.007) *****

This is a great module with a nice interface. I have been using it without problems for at least 3 or 4 years in all kinds of projects including extensive use in an IP management tool.

NetAddr-IP (3.24) *****

Great job Luis!

Chuck

NetAddr-IP (3.20) *****

I don't quite understand why we need three libraries for dealing with IP address blocks, but "choice" is a double-edged sword. This is the first one I stumbled upon and began using, and then after realizing that I had other options, did my research. I agree with this author, that it is probably more a matter of preference than anything else, but NetAddr::IP does seem to have the widest range of functionality.

So as my preferences go, GNU/Linux for os's, Debian for GNU/Linux distros, Perl for high-level programming, and now NetAddr::IP for IP Address Abstraction in Perl, I think we need the following added to the NetAddr suite:
NetAddr::MAC for MAC Addresses
NetAddr::OSI for OSI networks
NetAddr::IP::isMask validate string as a mask from any notation "contiguous 1's on the left followed by contiguous 0's to the right"

I should get to work.

-Robert