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

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

πŸ’– Net::EPP::Frame::Command::Update::Contact πŸ’–

okay bestie so this page is Net::EPP::Frame::Command::Update::Contact from the User Contributed Perl Documentation β€” say it with me, it's Net::EPP::Frame::Command::Update::Contact, and it's literally just an instance of Net::EPP::Frame::Command::Update but for contact objects. that's the whole vibe. periodt. ✨


🌸 NAME 🌸

Net::EPP::Frame::Command::Update::Contact β€” an instance of Net::EPP::Frame::Command::Update for contact objects. that's it, that's the girl πŸŽ€


✨ SYNOPSIS ✨

here's the whole thing in action, no cap:

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

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

        print $info->toString(1);

and this? this gives you an XML document 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>
              <info>REG-12345
                <contact:update
                  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:update>
              </info>
              <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
            </command>
        </epp>
πŸ’€ yes bestie, the E<lt> and E<gt> are in there fr fr β€” that's genuinely what's on the page, i'm not fixing it, i'm not touching it, we reproduce.

πŸ¦‹ OBJECT HIERARCHY πŸ¦‹

this is the family tree and it's giving ancestry.com:

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

six generations deep and every single one of them is iconic πŸ‘‘


πŸ’… METHODS πŸ’…

okay so here's every method, one by one, no skipping, we do not leave anyone out:

  • $frame->setContact($id); β€” this is the one that says which contact object we're updating. you hand it the $id and it goes "say less" πŸ’–
  • $frame->chgVoice($voice); β€” changes the contact's voice number. πŸŽ€
  • $frame->chgFax($fax); β€” and the docs say… "Change the contacts voice number." πŸ™ˆ bestie it literally says voice number again. that's what's written, i'm not gaslighting you, i'm just the messenger. it's the fax one. it takes $fax.
  • $frame->chgEmail($email); β€” changes the contact's email. straightforward, ate, no notes ✨
  • $frame->addStatus($type, $info); β€” adds a status of $type, and the extra $info is optional. slay 🫢
  • $frame->remStatus($type); β€” removes a status of $type. it's the "not me removing that status" of it all πŸ’…
  • $frame->chgAuthinfo($auth); β€” changes the authinfo. that's the whole description. short, sweet, main character energy πŸ‘‘

🌈 vibe check recap: one setContact, one chgVoice, one chgFax, one chgEmail, one addStatus, one remStatus, one chgAuthinfo. seven methods, zero skipped, you're welcome bestie.

and that's the page fr fr πŸ“ this little gem ships with perl v5.40.1 and it was last touched on 2025-04-19 β€” so go forth, update those contact objects, and remember: you're doing amazing sweetie. mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from