ExtUti...ructor(3pm)
π NAME π
ExtUtils::XSpp::Node::Destructor β the node that's literally the destructor method bestie, no cap
πΈ DESCRIPTION πΈ
okay so picture this: this is a subclass of ExtUtils::XSpp::Node::Method that represents a destructor. Like, the lil goodbye method. it's giving farewell energy fr fr.
it looks a little something like this:
class FooBar {
~FooBar(); // <-- this one
};
see that ~FooBar();? yeah. that's the one. π
β¨ METHODS β¨
π new
Creates a brand new ExtUtils::XSpp::Node::Destructor. new node, who dis π
Most of the functionality of this class is inherited, which is honestly iconic of it. What that means for you: every single named parameter that works for ExtUtils::XSpp::Node::Method β and for its base class too β is also valid here for this class' destructor. so you're not starting from scratch, bestie, you're getting the whole family tree's options. π«Ά
Additionally, this class requires that no return type has been specified, because destructors do not have return types. periodt. don't try to give it one, it's not that kind of method π
π¦ perl_function_name
Returns the name of the class with ::DESTROY appended. that's it. that's the whole vibe. class name + ::DESTROY = what you get back. slay. β¨
ngl, this page is short and sweet, but it's still main character energy. read the parent classes if you want the full lore. iykyk π
π that's the whole thing, babe! π this page lives in the perl v5.40.1 docs, dated 2026-07-03, and it's part of the User Contributed Perl Documentation. go forth and destruct responsibly, bestie ππΈπ¦
π¦ where this page comes from
- ubuntu stonking: libextutils-xspp-perl 0.1900-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