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


in reply to Challenge Problem: Merging Network Addresses

maybe you could translate the addresses first to their binary value.. you can then do calculations with them (bitwise) finally translate back to IP's just a thought.. Filip