http://qs321.pair.com?node_id=874488


in reply to Quickly determine which IP range an IP belongs to.

Wow - all excellent suggestions. Rather than roll my own, I'm leaning toward using Net::Netmask. I had seen it, but didn't realize it could do quite exactly that.

Thanks, all.