Help for this page

Select Code to Download


  1. or download this
    my $ips;
    while(<INPUT>){
    ...
            push @ips, $1;
        }
    }
    
  2. or download this
    use Socket;
    my $mask = 24; # 255.255.255.0 -> 24 bit netmask
    ...
        # print out the ascii format
        print inet_ntoa($ip), "\n";
    }