Net::E...:Domain(3pm)
β¨ NAME β¨
Net::EPP::Frame::Command::Renew::Domain β okay bestie, this is an instance of Net::EPP::Frame::Command::Renew but specifically for domain objects. It's the glow-up version of a renew frame, tailored for domains. π
(Also, hi, this is the manual page for Net::EPP::Frame::Command::Renew::Domain(3pm) from the User Contributed Perl Documentation. Welcome to the group chat. π«Ά)
πΈ SYNOPSIS πΈ
So here's the whole vibe, fr fr:
use Net::EPP::Frame::Command::Renew::Domain;
use strict;
my $info = Net::EPP::Frame::Command::Renew::Domain->new;
$info->setDomain('example.tld');
print $info->toString(1);
And that little baby right there? It spits out an XML document that looks exactly like this:
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
epp-1.0.xsd">
<command>
<renew>
<domain:renew
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
domain-1.0.xsd">
<domain:name>example.tldE<lt>/domain:name>
</domain:renew>
</renew>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
Not me copying that XML character for character including theE<lt>andE<gt>escapes and thatclTRIDE<gt>β it's giving pod-encoded, bestie. Leave it alone, it's iconic. π
π OBJECT HIERARCHY π
Look at this family tree. Generational excellence, no cap:
L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
+----L<Net::EPP::Frame>
+----L<Net::EPP::Frame::Command>
+----L<Net::EPP::Frame::Command::Renew>
+----L<Net::EPP::Frame::Command::Renew::Domain>
π METHODS π
$frame->setDomain('example.tld');
This one right here? It specifies the domain name for the renew. That's it. That's the whole job. Main character energy. β¨
$frame->period($years);
This sets the optional renewal period. Optional, so like, you can but you don't have to. Live your truth. π¦
$frame->setCurExpDate($date)
And this one sets the current expiry date for the domain. Keeping receipts on when things expire, very responsible of you. π
π Quick reality check: every one of these three methods appears exactly as written above, with the same arguments. Don't go freestyling on the argument names, bestie.
Anyway, that's the whole page β an instance of Net::EPP::Frame::Command::Renew for domain objects, and that's periodt.
This lil manual came from perl v5.40.1, dated 2025-04-19, and it's part of the Net::E...:Domain(3pm) page in the User Contributed Perl Documentation. Mwah, bye bestie! ππΈπ«Ά
π¦ where this page comes from
- debian trixie: libnet-epp-perl 0.28-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-epp-perl 0.28-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-epp-perl 0.28-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms