Help for this page

Select Code to Download


  1. or download this
    for (0..$#subnets) {
        # take each subnet and generate the hex out of the subnet divided 
    +by 16
    ...
        print $pair;
    }
    print "\n";
    
  2. or download this
    print hexize(@subnets), "\n";
    
    sub hexize {
        return sprintf("%02x%02x%02x%02x", @_);
    }