Net::RD...Registry(3)

πŸ“¦
version 0.43 Β· 3 versions
, in fedora 44

πŸ’– NAME πŸ’–

Net::RDAP::Registry::IANARegistry β€” bestie, this is the module that represents an RDAP bootstrap registry ✨

(It lives in the Perl manual, section 3, under User Contributed Perl Documentation, iykyk 🫢)


🌸 DESCRIPTION 🌸

Okay so picture this: IANA keeps a whole set of RDAP bootstrap registries lying around β€” one for IPv4 address blocks, one for IPv6 address blocks, one for top-level domains, one for AS number ranges, and one for object tags. Queen behaviour, honestly πŸ‘‘

This class? This class represents those registries. It's the vibe check wrapper. πŸ’…

Heads up: this class is used internally by Net::RDAP::Registry, so it's giving backstage-pass energy, not front-of-house.

πŸŽ€ CONSTRUCTOR πŸŽ€

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

$data is a hashref corresponding to the decoded JSON representation of the IANA registry. That's it, that's the whole assignment. Feed it the decoded JSON, get a registry back ✨


πŸ¦‹ METHODS πŸ¦‹

$description = $registry->description;

Returns a string containing the description of the registry. It's giving... literally the description. No notes. πŸ’–

$version = $registry->version;

Returns a string containing the version of the registry. Lowkey important, highkey just a string. 🌸

$date = $registry->publication;

Returns a DateTime::Tiny object corresponding to the date and time that the registry was last updated. And if you want just the time zone portion of the publication date, the publication_tz() method has you covered πŸ•

🚨 Lore drop: prior to Net::RDAP v0.35, this method returned a DateTime, but it was switched to DateTime::Tiny for performance reasons. So if you need a DateTime, do this: perl $event->date->DateTime Do not come for me, come for the perf gains 😭
@services = $registry->services;

Returns an array of Net::RDAP::Registry::IANARegistry::Service objects corresponding to each of the RDAP services listed in the registry. One object per service, no cap πŸ”₯


Copyright 2018-2023 CentralNic Ltd, 2024-2026 Gavin Brown. For licensing information, please see the LICENSE file in the Net::RDAP distribution. Read it, bestie, it's right there πŸ’…


And that's the page, fr fr β€” this manual was rendered by perl v5.42.2 on 2026-06-17, page Net::RD...Registry(3). Byeeee 🫢✨

πŸ“¦ where this page comes from