./wip/p5-Net-IP-Match-Regexp, Efficiently match IP addresses against ranges

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.01, Package name: p5-Net-IP-Match-Regexp-1.01, Maintainer: evaldo

This module allows you to check an IP address against one or more IP ranges.
It employs Perl's highly optimized regular expression engine to do the hard
work, so it is very fast. It is optimized for speed by doing the match
against a regexp which implicitly checks the broadest IP ranges first. An
advantage is that the regexp can be computed and stored in advance (in source
code, in a database table, etc) and reused, saving much time if the IP ranges
don't change too often. The match can optionally report a value (e.g. a
network name) instead of just a boolean, which makes module useful for
mapping IP ranges to names or codes or anything else.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Module-Build] [pkgtools/cwrappers]

Master sites: (Expand)

RMD160: ce046da3066853cb113325eb2a6f8ba2743fbea6
Filesize: 11.978 KB

Version history: (Expand)


CVS history: (Expand)


   2012-10-04 20:42:20 by Aleksej Saushev | Files touched by this commit (38)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
   2009-09-01 14:57:08 by Evaldo Gardenali | Files touched by this commit (3) | Imported package
Log message:
Import p5-Net-IP-Match-Regexp-1.01 as wip/p5-Net-IP-Match-Regexp.

This module allows you to check an IP address against one or more IP ranges.
It employs Perl's highly optimized regular expression engine to do the hard
work, so it is very fast. It is optimized for speed by doing the match
against a regexp which implicitly checks the broadest IP ranges first. An
advantage is that the regexp can be computed and stored in advance (in source
code, in a database table, etc) and reused, saving much time if the IP ranges
don't change too often. The match can optionally report a value (e.g. a
network name) instead of just a boolean, which makes module useful for
mapping IP ranges to names or codes or anything else.