in reply to Matching an IP/subnet amongst a large number of ip subnets

I know there are modules out there, like Net::Netmask for instance, but I wonder if it could be achieved from core ?

Everything can be achieved from core. If you know a module (like Net::Netmask) which does what you want, simply inspect the source (and the source of its dependencies) and do it that way yourself.

FWIW, I like Net::CIDR::Lite.

  • Comment on Re: Matching an IP/subnet amongst a large number of ip subnets