Help for this page

Select Code to Download


  1. or download this
    while(<STDIN>) {
      chomp;
    ...
      }
    }
    exit(1);
    
  2. or download this
    while(<STDIN>){$_="host ".join'.',map{s/(\d+)/$1/}split
    /./."$ARGV[0] 2>&1";`$_`=~/$ARGV[1]/m&&exit 0}exit 1
    
  3. or download this
    while (<STDIN>) {
      $_= "host " .
    ...
      `$_` =~ /$ARGV[1]/m && exit 0
    }
    exit 1