in reply to IP and Subnet

Apparently I just needed to search a little longer Net::Subnets does the trick.