Skip to content

dctabuyz/net-domain-tld-validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Net::Domain::TLD::Validate

Validates specified top level domain against a predefined list of TLDs.

use Net::Domain::TLD::Validate 'tld_exists';

for my $domain ( qw(org net dog god) )
{
	print $domain, (tld_exists($domain) ? ' ' : ' not '), "exists\n";
}

The list of TLDs can be updated at any time

$ bin/update-net-domain-tld-validate.pl > lib/Net/Domain/TLD/Validate.pm

TODO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages