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.
In reply to Re: Matching an IP/subnet amongst a large number of ip subnets
by hippo
in thread Matching an IP/subnet amongst a large number of ip subnets
by llarochelle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |