Help for this page

Select Code to Download


  1. or download this
    foreach ($i=0;$i<=$num;$i++) {
        %ServerStuatus = ( "$Ip[$i]" => ["$Names[$i]",   "unknown"] );
    }
    
  2. or download this
    %ServerStatus = map{ 
        $Ip[$_] => [ $Names[$_], "unknown" ] 
    } 0 .. $#Ip;