Net::E...k::Host(3pm)

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

πŸ’– NAME πŸ’–

Net::EPP::Frame::Command::Check::Host β€” bestie, it's an instance of Net::EPP::Frame::Command::Check but, like, specifically for host objects. That's the whole vibe. πŸ¦‹


✨ SYNOPSIS ✨

okay so here's the group chat version of how you use it:

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

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

print $check->toString(1);

and the way that this ate β€” it spits out 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>
      <check>
        <host:check
          xmlns:host="urn:ietf:params:xml:ns:host-1.0"
          xsi:schemaLocation="urn:ietf:params:xml:ns:host-1.0
          host-1.0.xsd">
            <host:name>ns0.example-1.tldE<lt>/host:name>
            <host:name>ns1.example-2.tldE<lt>/host:name>
            <host:name>ns2.example-3.tldE<lt>/host:name>
        </host:check>
      </check>
      <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
    </command>
</epp>
⚠️ heads up bestie: those E<lt> and E<gt> bits are literally in there, character for character. Don't come for me, I'm just the messenger. πŸ’…

πŸ‘‘ OBJECT HIERARCHY πŸ‘‘

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::Check>
                +----L<Net::EPP::Frame::Command::Check::Host>

🌸 METHODS 🌸

  • $frame->addHost($host_name); β€” this adds a hostname to the list of hosts that are gonna get checked. that's it, that's the method, and honestly? iconic. πŸŽ€

so yeah, that's the whole page β€” every method, every line, every little XML tag, all accounted for, fr fr. 🫢

this lil masterpiece shipped with perl v5.40.1, dated 2025-04-19, and it lives its life as Net::E...k::Host(3pm) in the User Contributed Perl Documentation. stay slay, go check some hosts, mwah πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from