Net::RDAP::Variant(3)

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

πŸ’– Net::RDAP::Variant πŸ’–

okay bestie, so this is Net::RDAP::Variant β€” a lil Perl module from the User Contributed Perl Documentation section of the manual (section 3, the library-calls girlies 🫢). She's small, she's specific, she does exactly one job and she does it flawlessly. Let's get into it.


✨ NAME ✨

Net::RDAP::Variant β€” a module representing one or more variants of a domain name. πŸ’…


🌸 DESCRIPTION 🌸

So Internationalized Domain Names (IDNs for short, iykyk) can have variant names β€” and whether they do depends on the script and/or the language they're written in, no cap.

The classic example, and it's giving chef's kiss: a name written in Simplified Chinese may have a variant in Traditional Chinese, and vice versa. Same vibe, different glyphs. Iconic honestly. 🌈

And here's where our girl comes in: the variants() property of Net::RDAP::Domain objects may return an array of Net::RDAP::Variant objects representing such variant names. That's literally the whole point of her existence and she ate. πŸ’–


πŸŽ€ METHODS πŸŽ€

  • @relation = $variant->relation; β€” hands you back an array of strings describing the relationship between the variants. ⭐ Now listen, this array SHOULD only contain values that are present in the IANA registry (peep Net::RDAP::Values for those, bestie, don't be out here making stuff up πŸ™ˆ).
  • $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 <https://www.iana.org/domains/idn-tables>. Go look at it, she's thorough. πŸ¦‹
  • @names = $variant->variantNames; β€” returns an array of Net::RDAP::VariantName objects. Yes, she's giving you more objects. She contains multitudes. πŸ‘‘

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


and that's the whole page, bestie!! πŸ“ this was perl v5.42.2, dated 2026-06-17, and it's Net::RDAP::Variant(3) signing off. mwah πŸ’œπŸ§šπŸ’–

πŸ“¦ where this page comes from