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

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

πŸ’– NAME πŸ’–

Net::EPP::Frame::Command::Transfer::Contact β€” bestie, it's an instance of Net::EPP::Frame::Command::Transfer but specifically for contact objects. That's the whole vibe. ✨


✨ SYNOPSIS ✨

okay so here's how you actually use it, no cap:

use Net::EPP::Frame::Command::Transfer::Contact;
use strict;

my $info = Net::EPP::Frame::Command::Transfer::Contact->new;
$info->setOp('query');
$info->setContact('REG-12345');

print $info->toString(1);

and it spits out an XML document that looks, like, exactly like this 🫢

<?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>
      <transfer op="query">
        <contact:transfer
          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:transfer>
      </transfer>
      <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
    </command>
</epp>

iconic behavior honestly πŸ’…


🌸 OBJECT HIERARCHY 🌸

the family tree, the lineage, the main character ancestry πŸ‘‘

  L<XML::LibXML::Node>
  +----L<XML::LibXML::Document>
      +----L<Net::EPP::Frame>
          +----L<Net::EPP::Frame::Command>
              +----L<Net::EPP::Frame::Command::Transfer>
                  +----L<Net::EPP::Frame::Command::Transfer::Contact>

πŸ’… METHODS πŸ’…

  • $frame->setContact($contactID); β€” this one specifies the contact object you're transferring. drop the contact ID in and it's locked in. πŸŽ€
  • $frame->setAuthInfo($pw); β€” and this bad boy sets the authInfo code for the transfer. yes bestie, the auth code, the little password moment. πŸ”

and that's literally the whole page, you ate it, you understood it, we love to see it πŸ¦‹

signing off from perl v5.40.1, dated 2025-04-19 β€” this documentation? iconic. the version? timeless. bye bestie, go transfer some contacts βœ¨πŸ’–

πŸ“¦ where this page comes from