'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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.13-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.13-bp155.2.9 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.13-bp154.1.19 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.13-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.13-bp152.3.13 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.13-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.13-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.13-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|