Net::E...Domain(3pm)

πŸ“¦
version 0.28 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

🌸 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 $hosts argument 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