8 if (ord('A') == 193 && !eval "require Convert::EBCDIC") {
9 print "1..0 # EBCDIC but no Convert::EBCDIC\n"; exit 0;
13 use Net::Domain qw(hostname domainname hostdomain);
16 unless($NetConfig{test_hosts}) {
23 $domain = domainname();
25 if(defined $domain && $domain ne "") {
32 # This check thats hostanme does not overwrite $_
33 my @domain = qw(foo.example.com bar.example.jp);
36 my @dummy = grep { hostname eq $_ } @domain;
38 ($domain[0] && $domain[0] eq $copy[0])