The following module was proposed for inclusion in the Module List:
modid: Net::IP::Match
DSLIP: Rdpfp
description: Efficiently match IP addrs against IP ranges
userid: MARCEL (Marcel Grunauer)
chapterid: 5 (Networking_Devices_IPC)
communities:
london.pm
similar:
Net::Netmask
rationale:
This module provides you with an efficient way to match an IP
address against one or more IP ranges. Speed is the key issue here.
If you have to check several million IP addresses, as can happen
with big logs, every millisecond counts. If your way to check an
address involves a method call and some temporary variables, a lot
of time is burnt. In such a time-critical loop you don't want to
make subroutine calls at all, as they involve stack operations.
So the approach we take here is that of a macro, preprocessed
through Perl's source filter mechanism.
enteredby: MARCEL (Marcel Grunauer)
enteredon: Wed Apr 10 21:52:03 2002 GMT
The resulting entry would be:
Net::IP::
::Match Rdpfp Efficiently match IP addrs against IP ranges MARCEL
Thanks for registering,
The Pause Team
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=93100000_509890acbfcd5fd9&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=93100000_509890acbfcd5fd9&SUBMIT_pause99_add_mod_insertit=1