Net::E...Contact(3pm)
π 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 theauthInfocode 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
- 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