Mail::SpamAssassin::RegistrarBoundaries(3)
($hostname, $domain) = split_domain ($fqdn)
Cut a fully-qualified hostname into the hostname part and the
domain part, splitting at the DNS registry boundary.
Examples:
"www.foo.com" => ( "www", "foo.com" )
"www.foo.co.uk" => ( "www", "foo.co.uk" )
$domain = trim_domain($fqdn)
Cut a fully-qualified hostname into the hostname part and the
domain part, returning just the domain.
Examples:
"www.foo.com" => "foo.com"
"www.foo.co.uk" => "foo.co.uk"
$ok = is_domain_valid($dom)
Return 1 if the domain is valid, "undef" otherwise. A valid domain
(a) does not contain whitespace, (b) contains at least one dot, and
(c) uses a valid TLD or ccTLD.
POD ERRORS
Hey! The above document had some coding errors, which are explained
below:
Around line 208:
'=item' outside of any '=over'
perl v5.10.0 Mail::SpamAssassin::Util::RegistrarBoundaries(3)
Mac OS X 10.6Server - Generated Thu Apr 15 06:47:06 CDT 2010
