LogoopenSUSE Build Service > Projects
Sign Up | Log In

Manipulate sets of IP addresses

'Net::CIDR::Set' represents sets of IP addresses and allows standard set
operations (union, intersection, membership test etc) to be performed on

In spite of the name it can work with sets consisting of arbitrary ranges
of IP addresses - not just CIDR blocks.

Both IPv4 and IPv6 addresses are handled - but they may not be mixed in the
same set. You may explicitly set the personality of a set:

  my $ip4set = Net::CIDR::Set->new({ type => 'ipv4 }, '');

Normally this isn't necessary - the set will guess its personality from the
first data that is added to it.

Source Files

Filename Size Changed Actions
Net-CIDR-Set-0.11.tar.gz 10.7 KB Download File
perl-Net-CIDR-Set.changes 179 Bytes Download File
perl-Net-CIDR-Set.spec 2.18 KB Download File

Comments for home:computersalat:devel:perl (0)

Login required, please login or signup in order to comment