Net::Domain::TLD(3) User Contributed Perl Documentation Net::Domain::TLD(3) NNAAMMEE Net::Domain::TLD - Work with TLD names SSYYNNOOPPSSIISS use Net::Domain::TLD; my $domain_list = Net::Domain::TLD->new; my @ccTLDs = $domain_list->ccTLDs; DDEESSCCRRIIPPTTIIOONN The purpose of this module is to provide user with current list of available top level domain names including new ICANN additions and ccTLDs Currently TLD definitions have been acquired from the following sources: http://www.icann.org/tlds/ http://www.dnso.org/constituency/gtld/gtld.html http://www.iana.org/cctld/cctld-whois.htm BBUUGGSS If you find any, please let the author know AAUUTTHHOORR Alex Pavlovic CPAN ID: ALEXP alex.pavlovic@taskforce-1.com CCOOPPYYRRIIGGHHTT Copyright (c) 2002 Alex Pavlovic. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. SSEEEE AALLSSOO perl(1). PPUUBBLLIICC MMEETTHHOODDSS Each public function/method is described here. These are how you should interact with this module. PPUUBBLLIICC IINNTTEERRFFAACCEESS new Creates new Net::Domain::TLD instance my $tld = Net::Domain::TLD->new; All my @list = $tld->All; returns list or hash ref of all TLDs names/descriptions TLDs_new my @list = $tld->TLDs_new; returns list or hash ref of new TLD names/descriptions gTLDs_open my $names = $tld->gTLDs_open; returns a list or hash ref of generic TLD names/descriptions available to general public gTLDs_restricted my @list = $tld->gTLDs_restricted; returns a list or hash ref of generic TLD names/descriptions restricted for assignment to specific users ccTLDs my $names = $tld->ccTLDs; returns a list or hash ref of country code TLD names/descriptions exists determines if given tld exists, returns 1 if tld is valid and 0 if not $tld->exists(info) ? print ok : print not ok; perl v5.8.7 2006-01-24 Net::Domain::TLD(3)