Net::E...::Host(3pm)
β¨ NAME β¨
Net::EPP::Frame::Command::Info::Host β bestie, it's literally an instance of Net::EPP::Frame::Command::Info but specifically for host objects π no cap.
This page lives in the User Contributed Perl Documentation section of the manual, iykyk π
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, copy-paste ready:
use Net::EPP::Frame::Command::Info::Host;
use strict;
my $info = Net::EPP::Frame::Command::Info::Host->new;
$info->setHost('ns0.example.tld');
print $info->toString(1);
and like, that gives you an XML document that looks exactly like this, periodt:
<?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>
<host:info
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:info>
</info>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
π«Ά yes bestie, theE<lt>andE<gt>bits are in there exactly like that. we do not touch. we do not "fix". the manpage said what it said π
π¦ OBJECT HIERARCHY π¦
the family tree, and honestly? it's giving main character energy:
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::Host>
π METHODS π
π setHost π
$frame->setHost($host_name);
this one specifies the hostname for which information is being requested π simple as that. you hand it the name, it asks the world about that name. iconic behavior fr fr β¨
π lowkey important: nothing here is deprecated, nothing is dangerous, it's just a tidy little info frame builder doing its one job beautifully. obsessed.
and that's the whole page bestie, go forth and query some hosts ππ
this gem is documented as perl v5.40.1, dated 2025-04-19 β slay, thanks for reading, 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