NAME
Net::Domain::TLD - Work with TLD names
SYNOPSIS
use Net::Domain::TLD;
my $domain_list = Net::Domain::TLD->new;
my @ccTLDs = $domain_list->ccTLDs;
DESCRIPTION
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
BUGS
If you find any, please let the author know
AUTHOR
Alex Pavlovic
CPAN ID: ALEXP
alex.pavlovic@taskforce-1.com
COPYRIGHT
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.
SEE ALSO
perl(1).
PUBLIC METHODS
Each public function/method is described here.
These are how you should interact with this module.
PUBLIC INTERFACES
- 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;
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 338:
=over without closing =back