The following module was proposed for inclusion in the Module List:
modid: Tie::NetAddr::IP
DSLIP: RdpOp
description: Hashes where keys are subnets
userid: LUISMUNOZ (Luis Mu�oz)
chapterid: 6 (Data_Type_Utilities)
communities:
similar:
rationale:
This module overloads hashes so that the key can be a subnet as in
NetAddr::IP. When looking values up, an interpretation will be made
to find the given key within the subnets specified in the hash.
Iterators on the hash such as foreach, each, keys and values will
only see the actual subnets provided as keys to the hash. When
looking up a value such as in $hash{$ipaddress} this IP address will
be looked up among the subnets existing as keys within the hash. The
matching subnet with the longest mask (ie, the most specific subnet)
will win and its associated value will be returned.
enteredby: LUISMUNOZ (Luis Mu�oz)
enteredon: Sun Dec 15 17:17:34 2002 GMT
The resulting entry would be:
Tie::NetAddr::
::IP RdpOp Hashes where keys are subnets LUISMUNOZ
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=df300000_2df13c1144e8ad12&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=df300000_2df13c1144e8ad12&SUBMIT_pause99_add_mod_insertit=1