Net::RD...daction(3)
β¨ NAME β¨
Net::RDAP::Redaction β bestie, it's a module that represents a redacted field in an RDAP response π (and yes, it's a User Contributed Perl Documentation page, we love a classic)
πΈ DESCRIPTION πΈ
Okay so here's the tea π β literally any RDAP object that inherits from Net::RDAP::Object comes with a redactions() method. Call it and you get back an array of Net::RDAP::Redaction objects, each one representing a field that the server was like "nope, that one's redacted" about. And if there aren't any? You just get nothing, which is also valid. Periodt.
π METHODS π
π Redacted Field Name
$name = $field->name;
Hands you the logical name for the redacted field π¦. And here's the thing β it can be registered or unregistered, both are fine, no drama. If you wanna go deep on that, it's all in Section 4.2 of RFC 9537: https://www.rfc-editor.org/rfc/rfc9537.html#name-redacted-member π
π Redaction Method
$method = $field->method;
Returns one of these four icons, and only these four, no cap:
removalemptyValuepartialValuereplacementValue
π JSON Path Expression Language
$lang = $field->pathLang;
Tells you which JSON path expression language is in play π. And by default? It's jsonpath. Slay.
β JSON Paths
$prePath = $field->prePath;
The path expression pointing at the redacted field in the pre-redacted response β if there is one, because sometimes there just isn't π.
$postPath = $field->postPath;
The path expression pointing at a redacted field in the redacted (aka post-redacted) response β again, only if any π«.
$replacementPath = $field->replacementPath;
The path expression of the replacement field of the redacted field, and this one only shows up when the redaction method is replacementValue. Very specific, very iconic π
π§ Reason
$reason = $field->reason;
$lang = $field->reasonLang;
$field->reason gives you the human-readable reason(s) why the field got redacted in the first place π β like, the why, the lore. And $field->reasonLang tells you what language that reason is written in, which is en by default π
π COPYRIGHT π
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 one's from perl v5.42.2, dated 2026-06-17. Go forth and redact responsibly β¨π
π¦ where this page comes from
- fedora 44: perl-Net-RDAP 0.43-1.fc44 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms