File: README

package info (click to toggle)
libnet-domain-tld-perl 1.5-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 72 kB
  • ctags: 18
  • sloc: perl: 319; makefile: 48
file content (61 lines) | stat: -rw-r--r-- 1,519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
NAME
    Net::Domain::TLD - Gives ability to retrieve currently available tld
    names/descriptions and perform verification of given tld name

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

INSTALL
     perl Makefile.PL
     make
     make test
     make install

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(q{info}) ? print q{ok} : print q{not ok};

AUTHOR
    Alexander Pavlovic <alex-1@telus.net>