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

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

πŸ’– NAME πŸ’–

Net::EPP::Frame::Command::Delete::Host β€” it's literally an instance of Net::EPP::Frame::Command::Delete but for host objects. no cap, that's the whole gig πŸ’…


✨ SYNOPSIS ✨

okay bestie, here's the vibe:

use Net::EPP::Frame::Command::Delete::Host;
use strict;

my $delete = Net::EPP::Frame::Command::Delete::Host->new;
$delete->setHost('example.tld');

print $delete->toString(1);

and the way that this spits out an XML document like THIS?? iconic:

<?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>
      <delete>
        <host:delete
          xmlns:host="urn:ietf:params:xml:ns:host-1.0"
          xsi:schemaLocation="urn:ietf:params:xml:ns:host-1.0
          host-1.0.xsd">
            <host:name>ns0.example.tldE<lt>/host:name>
        </host:delete>
      </delete>
      <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
    </command>
</epp>
🫢 yes, those <clTRID> and <host:name> lines are written exactly like that in the source. not me fixing them. that's just what's in there, periodt.

🌸 OBJECT HIERARCHY 🌸

the family tree, the bloodline, the lineage πŸ’œ

    L<XML::LibXML::Node>
    +----L<XML::LibXML::Document>
        +----L<Net::EPP::Frame>
            +----L<Net::EPP::Frame::Command>
                +----L<Net::EPP::Frame::Command::Delete>
                    +----L<Net::EPP::Frame::Command::Delete::Host>

πŸŽ€ METHODS πŸŽ€

πŸ¦‹ setHost

$frame->setHost($host_name);

This specifies the host object to be deleted. πŸ—‘οΈβœ¨ that's it, that's the method β€” you hand it the host name and it's like "okay bestie, that one's getting deleted." main character energy fr fr πŸ’–


⭐ SEE ALSO ⭐

ngl there's no SEE ALSO section in this one, bestie β€” but the hierarchy up there is giving you the whole friend group if you wanna go say hi πŸ‘‘


kisses, this was User Contributed Perl Documentation for Net::EPP::Frame::Command::Delete::Host(3pm), perl v5.40.1, dated 2025-04-19 πŸ’–πŸŽ€βœ¨ slay, go delete a host, ily, bye πŸ’…πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from