Net::RDAP::Registry::IANARegistry(3p)

NAME
Net::RDAP::Registry::IANARegistry - a module which represents an RDAP bootstrap registry.

DESCRIPTION
The IANA maintains a set of RDAP boostrap registries for IPv4 and IPv6 address blocks, top-level domains, AS number ranges, and object tags.

This class represents these registries.

This class is used internally by Net::RDAP::Registry.

CONSTRUCTOR
    $registry = Net::RDAP::Registry::IANARegistry->new($data);

$data is a hashref corresponding to the decoded JSON representation of the IANA registry.

METHODS
    $description = $registry->description;

Returns a string containing the description of the registry.

    $version = $registry->version;

Returns a string containing the version of the registry.

    $date = $registry->publication;

Returns a DateTime::Tiny object corresponding to the date and time that the registry was last updated. The publication_tz() method returns the time zone portion of the publication date.

Prior to Net::RDAP v0.35, this method returned a DateTime, but this was switched to DateTime::Tiny for performance reasons. If you need a DateTime, use "$event->date->DateTime".

    @services = $registry->services;

Returns an array of Net::RDAP::Registry::IANARegistry::Service objects corresponding to each of the RDAP services listed in the registry.

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