Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > bbba1dbe64870aaa610f809850b00f51

perl-NetAddr-IP-3.21-1mdk.src.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";

Generated packages:

Other version of this rpm: