{
    "mode": "perldoc",
    "parameter": "Moose::Meta::Method::Destructor",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Moose%3A%3AMeta%3A%3AMethod%3A%3ADestructor/json",
    "generated": "2026-06-16T09:58:04Z",
    "sections": {
        "NAME": {
            "content": "Moose::Meta::Method::Destructor - Method Meta Object for destructors\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 2.2200\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class is a subclass of Class::MOP::Method::Inlined that provides Moose-specific\nfunctionality for inlining destructors.\n\nTo understand this class, you should read the Class::MOP::Method::Inlined documentation as well.\n",
            "subsections": []
        },
        "INHERITANCE": {
            "content": "\"Moose::Meta::Method::Destructor\" is a subclass of Moose::Meta::Method *and*\nClass::MOP::Method::Inlined.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "Moose::Meta::Method::Destructor->new(%options)\nThis constructs a new object. It accepts the following options:\n\n*   packagename\n\nThe package for the class in which the destructor is being inlined. This option is required.\n\n*   name\n\nThe name of the destructor method. This option is required.\n\n*   metaclass\n\nThe metaclass for the class this destructor belongs to. This is optional, as it can be set\nlater by calling \"$metamethod->attachtoclass\".\n\nMoose::Meta;:Method::Destructor->isneeded($metaclass)\nGiven a Moose::Meta::Class object, this method returns a boolean indicating whether the class\nneeds a destructor. If the class or any of its parents defines a \"DEMOLISH\" method, it needs a\ndestructor.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "See \"BUGS\" in Moose for details on reporting bugs.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "*   Stevan Little <stevan@cpan.org>\n\n*   Dave Rolsky <autarch@urth.org>\n\n*   Jesse Luehrs <doy@cpan.org>\n\n*   Shawn M Moore <sartak@cpan.org>\n\n*   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>\n\n*   Karen Etheridge <ether@cpan.org>\n\n*   Florian Ragwitz <rafl@debian.org>\n\n*   Hans Dieter Pearcey <hdp@cpan.org>\n\n*   Chris Prather <chris@prather.org>\n\n*   Matt S Trout <mstrout@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2006 by Infinity Interactive, Inc.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        }
    },
    "summary": "Moose::Meta::Method::Destructor - Method Meta Object for destructors",
    "flags": [],
    "examples": [],
    "see_also": []
}