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

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

πŸ’– Net::EPP::Frame::Command::Check::Domain(3pm) πŸ’–

okay so bestie, this is a page from the User Contributed Perl Documentation, and the module it's all about is Net::EPP::Frame::Command::Check::Domain β€” you can just call it Net::EPP::Frame::Command::Check::Domain(3pm) if you're being formal, it's in section 3pm. ✨


πŸŽ€ NAME πŸŽ€

Net::EPP::Frame::Command::Check::Domain β€” it's literally an instance of Net::EPP::Frame::Command::Check, but specifically for domain names. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

here's how you'd actually use it:

use Net::EPP::Frame::Command::Check::Domain;
use strict;

my $check = Net::EPP::Frame::Command::Check::Domain->new;
$check->addDomain('example-1.tld');
$check->addDomain('example-2.tld');
$check->addDomain('example-2.tld');

print $check->toString(1);

and that spits out an XML document 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>
      <check>
        <domain:check
          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:name>example-2.tldE<lt>/domain:name>
            <domain:name>example-3.tldE<lt>/domain:name>
        </domain:check>
      </check>
      <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
    </command>
</epp>

yes, i know the third addDomain up there says example-2.tld and the XML shows example-3.tld, and yes, i know about the E<lt> and E<gt> weirdness. i'm not touching it. it's giving documentation, not my problem, and it's staying exactly how it is. 🫢


πŸ¦‹ OBJECT HIERARCHY πŸ¦‹

the family tree, and yes she comes from a long line of icons:

L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
    +----L<Net::EPP::Frame>
        +----L<Net::EPP::Frame::Command>
            +----L<Net::EPP::Frame::Command::Check>
                +----L<Net::EPP::Frame::Command::Check::Domain>

🌸 METHODS 🌸

  • $frame->addDomain($domain_name); β€” this adds a domain name to the list of domains to be checked. that's it, that's the method, and it ate. πŸ‘‘

and that's the whole page bestie β€” short, sweet, and extremely niche. πŸ’œ

this little beauty is from perl v5.40.1, dated 2025-04-19, and its full name is Net::EPP::Frame::Command::Check::Domain(3pm). go check some domains, slay, and hydrate. πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from