NAME

Net::RDAP::Variant - a module representing one or more variants of a domain name.

DESCRIPTION

Internationalized Domain Names (IDNs) may (depending on the script and/or language they are written in) have variant names. For example, a name written in Simplified Chinese may have a variant in Traditional Chinese, and vice versa.

The variants() property of Net::RDAP::Domain objects may return an array of Net::RDAP::Variant objects representing such variant names.

METHODS

@relation = $variant->relation;

Returns an array of strings describing the relationship between the variants. This array SHOULD only contain values that are present in the IANA registry (see Net::RDAP::Values).

$table = $variant->idnTable;

Returns a string that represents the Internationalized Domain Name (IDN) table that has been registered in the IANA Repository of IDN Practices.

@names = $variant->variantNames;

Returns an array of Net::RDAP::VariantName objects.

COPYRIGHT

Copyright 2018-2023 CentralNic Ltd, 2024 Gavin Brown. For licensing information, please see the LICENSE file in the Net::RDAP distribution.