Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Net::XWhois 0.90

    Download button

    No screenshots available
    Downloads: 424  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Vipul Ved Prakash | More programs
    Perl Artistic License / FREE
    July 27th, 2006, 12:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::XWhois description

    Net::XWhois is a Whois Client Interface for Perl5.

    Net::XWhois is a Whois Client Interface for Perl5.

    SYNOPSIS

    use Net::XWhois;

    $whois = new Net::XWhois Domain => "vipul.net" ;
    $whois = new Net::XWhois Domain => "bit.ch",
    Server => "domreg.nic.ch",
    Retain => 1,
    Parser => {
    nameservers => 'nserver:s+(S+)',
    };

    The Net::XWhois class provides a generic client framework for doing Whois queries and parsing server response.

    The class maintains an array of top level domains and whois servers associated with them. This allows the class to transparently serve requests for different tlds, selecting servers appropriate for the tld. The server details are, therefore, hidden from the user and "vipul.net" (from InterNIC), gov.ru (from RIPE) and "bit.ch" (from domreg.nic.ch) are queried in the same manner. This behaviour can be overridden by specifying different bindings at object construction or by registering associations with the class. See "register_associations()" and "new()".

    One of the more important goals of this module is to enable the design of consistent and predictable interfaces to incompatible whois response formats. The Whois RFC (954) does not define a template for presenting server data; consequently there is a large variation in layout styles as well as content served across servers.

    (There is, however, a new standard called RPSL (RFC2622) used by RIPE (http://www.ripe.net), the European main whois server.)

    To overcome this, Net::XWhois maintains another set of tables - parsing rulesets - for a few, popular response formats. (See "%PARSERS"). These parsing tables contain section names (labels) together with regular expressions that match the corresponding section text. The section text is accessed "via" labels which are available as data instance methods at runtime. By following a consistent nomenclature for labels, semantically related information encoded in different formats can be accessed with the same methods.

    Requirements:

    · Perl



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Whois Client | Whois interface | Perl module | Net::XWhois | whois | client

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM