in reply to Re: Match a Range of IP's
in thread Match a Range of IP's

Except that the CIDR address you have doesn't match the OP's desired range (, so he'd have to run your code up to 99 times to see if the address is in that range. Or just another way (not tested):
use Net::CIDR::Lite; my $range = Net::CIDR::Lite->new(""); while (<DATA>) { chomp; print "$_\n" if $range->find($_); }