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:Backports:SLE-15/perl-Net-CIDR-Set && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Net-CIDR-Set-0.13.tar.gz | 0000013972 13.6 KB | |
perl-Net-CIDR-Set.changes | 0000000546 546 Bytes | |
perl-Net-CIDR-Set.spec | 0000002210 2.16 KB |
Revision 1 (latest revision is 2)
Ismail Dönmez (namtrac)
committed
(revision 1)
Comments 0