1Mail::SpamAssassin::UtiUls:e:rReCgoinstMtrariiablru:Bt:oeSudpnadPmaeArrsilseasDs(os3ci)unm:e:nUttaitli:o:nRegistrarBoundaries(3)
2
3
4
5 ($hostname, $domain) = split_domain ($fqdn)
6 Cut a fully-qualified hostname into the hostname part and the
7 domain part, splitting at the DNS registry boundary.
8
9 Examples:
10
11 "www.foo.com" => ( "www", "foo.com" )
12 "www.foo.co.uk" => ( "www", "foo.co.uk" )
13
14 $domain = trim_domain($fqdn)
15 Cut a fully-qualified hostname into the hostname part and the
16 domain part, returning just the domain.
17
18 Examples:
19
20 "www.foo.com" => "foo.com"
21 "www.foo.co.uk" => "foo.co.uk"
22
23 $ok = is_domain_valid($dom)
24 Return 1 if the domain is valid, "undef" otherwise. A valid domain
25 (a) does not contain whitespace, (b) contains at least one dot, and
26 (c) uses a valid TLD or ccTLD.
27
28
29
30perl v5.10.1 Mail2:0:1S0p-a0m3A-s1s6assin::Util::RegistrarBoundaries(3)