diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-26 11:08:02 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2011-10-26 11:08:02 +0000 |
commit | 62d8522a7526f24c93df9492f5993026ca34373f (patch) | |
tree | 410fcf33332f581db1febd4f99fca6cb5ab3616c /net/p5-Net-Subnet/pkg-descr | |
parent | a8ff0b8aa88d2a908d0490090d07c9f98ad8ca03 (diff) | |
download | ports-62d8522a7526f24c93df9492f5993026ca34373f.tar.gz ports-62d8522a7526f24c93df9492f5993026ca34373f.zip |
Notes
Diffstat (limited to 'net/p5-Net-Subnet/pkg-descr')
-rw-r--r-- | net/p5-Net-Subnet/pkg-descr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/p5-Net-Subnet/pkg-descr b/net/p5-Net-Subnet/pkg-descr new file mode 100644 index 000000000000..47a4a31ccd41 --- /dev/null +++ b/net/p5-Net-Subnet/pkg-descr @@ -0,0 +1,13 @@ +This is a simple but fast pure Perl module for determining whether a given IP +address is in a given set of IP subnets. It's iterative, and it doesn't use any +fancy tries, but because it uses simple bitwise operations on strings it's still +very fast. + +All documented functions are exported by default. + +Subnets have to be given in "address/mask" or "address/length" (CIDR) format. +The Socket and Socket6 modules are used to normalise addresses, which means that +any of the address formats supported by inet_aton and inet_pton can be used with +Net::Subnet. + +WWW: http://search.cpan.org/dist/Net-Subnet/ |