Net::E...k::Host(3pm)
π 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: thoseE<lt>andE<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
- 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