Net::E...Domain(3pm)
β¨ Net::EPP::Frame::Command::Transfer::Domain π
okay bestie, so this is a User Contributed Perl Documentation page β and it's about Net::EPP::Frame::Command::Transfer::Domain, which is literally an instance of Net::EPP::Frame::Command::Transfer but specifically for domain objects. that's it, that's the whole name section. short, sweet, iconic. π
πΈ SYNOPSIS πΈ
here's the vibe β you spin one up, you tell it what to do, you tell it which domain, and you print it:
use Net::EPP::Frame::Command::Transfer::Domain;
use strict;
my $info = Net::EPP::Frame::Command::Transfer::Domain->new;
$info->setOp('query');
$info->setDomain('example.tld');
print $info->toString(1);
and this results in an XML document like this (yes, exactly like this, character for character, don't touch it):
<?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>
<transfer op="query">
<domain:transfer
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:transfer>
</transfer>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
look at that little clTRID doing its thing. main character energy fr fr. π
π¦ OBJECT HIERARCHY π¦
here's the family tree, and yes it's giving royalty:
L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
+----L<Net::EPP::Frame>
+----L<Net::EPP::Frame::Command>
+----L<Net::EPP::Frame::Command::Transfer>
+----L<Net::EPP::Frame::Command::Transfer::Domain>
so like, it inherits down the whole chain and ends up as the domain-specific transfer child. slay. π
π METHODS π
setDomain
$frame->setDomain('example.tld');
this method specifies the domain name for the transfer. that's the whole job. you tell it which domain, it knows which domain. communication queen. π
period
$frame->period($years);
this sets the optional renewal period for the transfer. note the optional β it's not required, it's just there if you want it. π«Ά
setAuthInfo
$frame->setAuthInfo($pw);
this sets the authInfo code for the transfer. that's the password-y little auth code situation, and it's very much needed for the transfer to go through. π₯
no cap, this page is short but it's all killer no filler. every method listed, every XML tag preserved, nothing skipped. π
and that's a wrap on the docs, bestie β this page came from perl v5.40.1 and it's dated 2025-04-19. go forth and transfer those domains. periodt. β¨ππΈ
π¦ 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