Help for this page

Select Code to Download


  1. or download this
    sub could_be_a_host {
      my @a = split /\./, shift, -1;
    ...
        not grep /^\d+$/, @a and
        not grep /^-|-$/, @a;
    }
    
  2. or download this
    sub could_be_a_host {
      my @a = split /\./, shift, -1;
    ...
      }
      1;
    }