http://www.perlmonks.org?node_id=304634


in reply to ip range for config files

I tend to prefer Net::Netmask myself. You can achieve similar code to your test code above using Netmask's enumerate() method.