1Moose::Meta::Method::DeUssterrucCtoonrt(r3i)buted Perl DMoocousmee:n:tMaettiao:n:Method::Destructor(3)
2
3
4

NAME

6       Moose::Meta::Method::Destructor - Method Meta Object for destructors
7

DESCRIPTION

9       This class is a subclass of Class::MOP::Class::Generated that provides
10       Moose-specific functionality for inlining destructors.
11
12       To understand this class, you should read the the
13       Class::MOP::Class::Generated documentation as well.
14

INHERITANCE

16       "Moose::Meta::Method::Destructor" is a subclass of Moose::Meta::Method
17       and Class::MOP::Method::Generated.
18

METHODS

20       Moose::Meta;:Method::Destructor->new(%options)
21           This constructs a new object. It accepts the following options:
22
23           ·       package_name
24
25                   The package for the class in which the destructor is being
26                   inlined. This option is required.
27
28           ·       name
29
30                   The name of the destructor method. This option is required.
31
32           ·       metaclass
33
34                   The metaclass for the class this destructor belongs to.
35                   This is optional, as it can be set later by calling
36                   "$metamethod->attach_to_class".
37
38       Moose::Meta;:Method::Destructor->is_needed($metaclass)
39           Given a Moose::Meta::Class object, this method returns a boolean
40           indicating whether the class needs a destructor. If the class or
41           any of its parents defines a "DEMOLISH" method, it needs a
42           destructor.
43

BUGS

45       See "BUGS" in Moose for details on reporting bugs.
46

AUTHORS

48       Stevan Little <stevan@iinteractive.com>
49
51       Copyright 2006-2010 by Infinity Interactive, Inc.
52
53       <http://www.iinteractive.com>
54
55       This library is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself.
57
58
59
60perl v5.12.2                      2010-08-28Moose::Meta::Method::Destructor(3)
Impressum