Help for this page

Select Code to Download


  1. or download this
    my (@ips, @names);
    while (<DATA>) {
    ...
        push @ips, $ip;
        push @names, $name;
    }
    
  2. or download this
    my %hash  = map split, <DATA>;
    my @ips   = keys %hash;
    my @names = values %hash;