Net::E...Domain(3pm)
πΈ NAME πΈ
Net::EPP::Frame::Command::Info::Domain β bestie, it's literally an instance of Net::EPP::Frame::Command::Info, but specifically for domain names. π
β¨ SYNOPSIS β¨
okay so here's the whole vibe:
use Net::EPP::Frame::Command::Info::Domain;
use strict;
my $info = Net::EPP::Frame::Command::Info::Domain->new;
$info->setDomain('example.tld');
print $info->toString(1);
and like⦠that gives you an XML document that looks exactly like this, no cap:
<?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>
<info>
<domain:info
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-1.tldE<lt>/domain:name>
</domain:info>
</info>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
not me staring at that clTRID like it's a whole personality π it's giving very much "random hex but make it iconic".
π¦ OBJECT HIERARCHY π¦
the family tree, and yes every single ancestor is here because we respect the lineage:
L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
+----L<Net::EPP::Frame>
+----L<Net::EPP::Frame::Command>
+----L<Net::EPP::Frame::Command::Info>
+----L<Net::EPP::Frame::Command::Info::Domain>
so Net::EPP::Frame::Command::Info::Domain is the main character at the very bottom, inheriting from Net::EPP::Frame::Command::Info, which comes from Net::EPP::Frame::Command, which comes from Net::EPP::Frame, which comes from XML::LibXML::Document, which comes from XML::LibXML::Node. slay, generational talent fr fr π§
π METHODS π
$frame->setDomain($domain_name, $hosts);β this is the one that says which domain name you're asking for info about. the$hostsargument is the content of the"hosts"attribute β and btw it's set to"all"by default, so if you don't pass anything, that's the vibe you're getting. π«Ά
and that's the whole page bestie, you're so welcome π
this was pulled from perl v5.40.1, dated 2025-04-19, and it lives in the User Contributed Perl Documentation under Net::E...Domain(3pm) β k bye, go set some domains πβ¨
π¦ 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