Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 7795a01ca3ad0893630ca9431d4ac34c

perl-NetAddr-IP-3.20-1mdk.noarch.rpm

Description:

This module provides an object-oriented abstraction on top of IP
addresses or IP subnets, that allows for easy manipulations. Many
operations are supported, as described below:

use NetAddr::IP;
my $ip = new NetAddr::IP 'loopback';
print "The address is ", $ip->addr, " with mask ", $ip->mask, "\n" ;
if ($ip->within(new NetAddr::IP "127.0.0.0", "255.0.0.0")) {
print "Is a loopback address\n";
}

print "You can also say $ip...\n";

Sources packages:

Other version of this rpm: