NAME

WWW::CNic::Response::DomainList - a WWW::CNic response object for domain lists.

SYNOPSIS

use WWW::CNic;

my $query = WWW::CNic->new( OPTIONS );

my $response = $query->execute();

DESCRIPTION

Response module for domain list requests via the CentralNic Toolkit (http://toolkit.centralnic.com/). This module inherits most of its methods from the base class, WWW::CNic::Response.

METHODS

$response->domains();

Returns an array containing all the domains that match the query.

$response->regdate($domain);

Returns a Unix timestamp corresponding to the registration date of the domain.

$response->expirydate($domain);

Returns a Unix timestamp corresponding to the expiry date of the domain.

$response->status($domain);

Returns a string containing the current status of the domain, for example: 'Live', 'Pending Deletion'.

COPYRIGHT

This module is (c) 2010 CentralNic Ltd. All rights reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO