Manipulate sets of IP addresses
http://search.cpan.org/dist/Net-CIDR-Set/
'Net::CIDR::Set' represents sets of IP addresses and allows standard set
operations (union, intersection, membership test etc) to be performed on
them.
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 }, '10.0.0.0/8');
Normally this isn't necessary - the set will guess its personality from the
first data that is added to it.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-Net-CIDR-Set && cd $_
- Create Badge
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Net-CIDR-Set-0.19.tar.gz | 0000034861 34 KB | |
README.md | 0000000348 348 Bytes | |
_scmsync.obsinfo | 0000000277 277 Bytes | |
build.specials.obscpio | 0000000256 256 Bytes | |
perl-Net-CIDR-Set.changes | 0000002341 2.29 KB | |
perl-Net-CIDR-Set.spec | 0000002538 2.48 KB |
Comments 0