Net::E...Contact(3pm)
π Net::E...Contact(3pm) β bestie, let's talk contact info π
okay so. hi. welcome to the Net::E...Contact(3pm) page, which is a real thing in the User Contributed Perl Documentation section of your friendly neighborhood man command. and what is it? it's the manual for Net::EPP::Frame::Command::Info::Contact β which is literally just an instance of Net::EPP::Frame::Command::Info but for contact objects. that's it. that's the whole vibe. no cap. π¦
β¨ NAME β¨
Net::EPP::Frame::Command::Info::Contact β an instance of Net::EPP::Frame::Command::Info for contact objects. π
πΈ SYNOPSIS πΈ
here's the whole thing in action, bestie. watch:
use Net::EPP::Frame::Command::Info::Contact;
use strict;
my $info = Net::EPP::Frame::Command::Info::Contact->new;
$info->setContact('REG-12345');
print $info->toString(1);
and because you know this thing is giving XML, this is what comes out the other side:
<?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>
<contact:info
xmlns:contact="urn:ietf:params:xml:ns:contact-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:contact-1.0
contact-1.0.xsd">
<contact:id>REG-12345E<lt>/contact:id>
</contact:info>
</info>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
look at that. iconic. the clTRID there is a whole long hex string and it's just out here living its life. π₯
π OBJECT HIERARCHY π
so this class did not appear out of thin air, it has ancestry, and the way that it descends is literally this:
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::Contact>
main character energy at the bottom of the tree fr fr. π
π METHODS π
$frame->setContact($contactID);β this is the one move, bestie. you hand it a$contactIDand you're specifying the contact object for which information is being requested. that's what it does. that's the whole method. obsessed. π«Ά
β οΈ real talk:$contactIDis the placeholder β in the SYNOPSIS above the actual value used isREG-12345, so don't go passing the literal word$contactIDand then acting surprised. iykyk. π
and that's the page!! short, sweet, slays. this was perl v5.40.1 documentation dated 2025-04-19, and yes the version and the date are staying because we do not skip details in this house. πβ¨π bye bestie, go fetch some contact info π¦πΈ
π¦ 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