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