Basicly I am trying to use a perl script to convert Wildcard mask (Aka Reverse Mask or Cisco Mask) to standard mask (or even cidr). Is there anything out there what already does this? I already tried using NetAddr::IP but it will only go from Ipv4 with cidr to wildcard and not the other way around.