1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
#!perl open(my $out, ">log-subnet.txt") or die "Could not open output: $!\n"; ##### Step 1, read subnets open(my $in, "
1:
printf $log "%s,%d,%d,%d\n", $subnet, ($counts{Static} or 0), ($counts{DHCP} or 0), ($counts{Unused} or 0);