from the docs:
The module also has many other functions for defining and scanning subnets.use NetAddr::IP; my $ip = new NetAddr::IP 'loopback'; if ($ip->within(new NetAddr::IP "127.0.0.0", "255.0.0.0")) { print "Is a loopback address\n"; }
In reply to Re: Reg Ex to find IP address in range
by NetWallah
in thread Reg Ex to find IP address in range
by stew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |