Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Mail::SpamAssassin::RegistryBoundaries

Name Mail::SpamAssassin::RegistryBoundaries
Version
Located at /usr/share/perl5
File /usr/share/perl5/Mail/SpamAssassin/RegistryBoundaries.pm
Is Core No
Search CPAN for this module Mail::SpamAssassin::RegistryBoundaries
Documentation Mail::SpamAssassin::RegistryBoundaries
Module Details Mail::SpamAssassin::RegistryBoundaries

NAME

Mail::SpamAssassin::RegistryBoundaries - domain delegation rules


METHODS

($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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2021