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

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

πŸ’– 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 $contactID and 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: $contactID is the placeholder β€” in the SYNOPSIS above the actual value used is REG-12345, so don't go passing the literal word $contactID and 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