---
name: "ExtUtils::XSpp::Node::Destructor"
section: "3pm"
platform: "linux"
package: "libextutils-xspp-perl"
version: "0.1800-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ExtUtils::XSpp::Node::Destructor"
---

# ExtUtils::XSpp::Node::Destructor(3pm)

Node representing a destructor method

## NAME

ExtUtils::XSpp::Node::Destructor - Node representing a destructor method

## DESCRIPTION

An ExtUtils::XSpp::Node::Method subclass representing a  destructor such as:

```
  class FooBar {
    ~FooBar(); // <-- this one
  };
```

## METHODS

### new

Creates a new `"ExtUtils::XSpp::Node::Destructor"`.

Most of the functionality of this class is inherited. This means that all named parameters of ExtUtils::XSpp::Node::Method and its base class are also valid for this class' destructor.

Additionally, this class requires that no return type has been specified as destructors do not have return types.

### perl\_function\_name

Returns the name of the class with `"::DESTROY"` appended.
