in reply to IP Address/Subnet matching
You can then use grep to filter the list of objects, limiting them to thost where the condition is TRUE.$me->contains($other) #Returns true when $me completely contains $other. False is returned + otherwise # and undef is returned if $me and $other are of different versions. #Note that $me and $other must be NetAddr::IP objects.
"For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken
|
|---|