Help for this page

Select Code to Download


  1. or download this
    my $found = 0;
    for (qx<tracert $ipaddy>){
    ...
      found = 1;
      last;
    }
    
  2. or download this
      if (grep {/myhost/}, qx<tracert $ipaddy>){
          #Do something 
      }else{
          #Addr was not found in trace
      }