---
name: "WWW::CNic::Response::DomainList"
section: "3pm"
platform: "linux"
package: "libwww-cnic-perl"
version: "0.38-2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/WWW::CNic::Response::DomainList"
---

# WWW::CNic::Response::DomainList(3pm)

a WWW::CNic response object for domain lists.

## 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) 2011 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

- •

  http://toolkit.centralnic.com/

- •

  WWW::CNic::Response

- •

  WWW::CNic
