Net::E...Contact(3pm)
β¨ NAME β¨
Net::EPP::Frame::Command::Create::Contact β it's giving "an instance of Net::EPP::Frame::Command::Create for contact objects." π
No cap, that's literally what it is.
πΈ SYNOPSIS πΈ
okay bestie, here's the vibe:
use Net::EPP::Frame::Command::Create::Contact;
use strict;
my $create = Net::EPP::Frame::Command::Create::Contact->new;
$create->setContact('contact-id);
print $create->toString(1);
And the way that this results in an XML document like this?? Obsessed:
<?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>
<check>
<contact:create
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>example-1.tldE<lt>/contact:id>
</contact:create>
</check>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
she's built different fr fr π¦
π OBJECT HIERARCHY π
L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
+----L<Net::EPP::Frame>
+----L<Net::EPP::Frame::Command>
+----L<Net::EPP::Frame::Command::Create>
+----L<Net::EPP::Frame::Command::Create::Contact>
look at that family tree. generational talent π
π METHODS π
my $element = $frame->setContact($contact_id);β bestie, this sets the contact ID of the object to be created. And guess what it returns? The"<contact:name>"element. slay. β¨
lowkey important:$contact_idis the contact ID you're handing over β the method does the setting, and you get the"<contact:name>"element back. that's the whole deal. π«Ά
written by the User Contributed Perl Documentation girlies π β perl v5.40.1, dated 2025-04-19. mwah, take care of her, she's iconic. π π
π¦ 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