Net::E...Domain(3pm)
π NAME π
Net::EPP::Frame::Command::Delete::Domain β it's literally an instance of Net::EPP::Frame::Command::Delete but, like, specifically for domain names. bestie it does one thing and it does it gorgeously π
β¨ SYNOPSIS β¨
okay so here's the whole vibe. you make one of these, you tell it which domain is getting the boot, and you print it:
use Net::EPP::Frame::Command::Delete::Domain;
use strict;
my $delete = Net::EPP::Frame::Command::Delete::Domain->new;
$delete->setDomain('example.tld');
print $delete->toString(1);
and that spits out an XML document that looks 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>
<delete>
<domain:delete
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
domain-1.0.xsd">
<domain:name>example.tldE<lt>/domain:name>
</domain:delete>
</delete>
<clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
</command>
</epp>
likeβ¦ look at that. the clTRID is a whole 40-char hex moment. iconic honestly π
π OBJECT HIERARCHY π
so this is the family tree and yes we're respecting 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::Domain>
she's at the very bottom of the tree which means she inherited EVERYTHING. nepo baby behavior but make it XML π¦
πΈ METHODS πΈ
$frame->setDomain($domain_name);β this is the one and only move. you pass in the domain name that's getting deleted. that's it. that's the method. no cap π
heads up bestie: this specifies the domain name to be deleted. deleting domains is a real-world permanent kinda situation β make sure $domain_name is the one you actually meant. the method is chill; the consequences are not π
and that's the whole page!! short and sweet, just like she deserves β¨π
sign-off time π«Ά β this beauty was documented as part of User Contributed Perl Documentation, and it's living its life as perl v5.40.1, dated 2025-04-19. go forth and delete responsibly, queen ππ
π¦ 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