1Object::Pad::MOP::MethoUds(e3r)Contributed Perl DocumentOabtjieocnt::Pad::MOP::Method(3)
2
3
4

NAME

6       "Object::Pad::MOP::Method" - meta-object representation of a method of
7       a "Object::Pad" class
8

DESCRIPTION

10       Instances of this class represent a method of a class implemented by
11       Object::Pad. Accessors provide information about the method.
12
13       This API should be considered experimental, and will emit warnings to
14       that effect. They can be silenced with
15
16          use Object::Pad qw( :experimental(mop) );
17

METHODS

19   name
20          $name = $metamethod->name
21
22       Returns the name of the method, as a plain string.
23
24   class
25       Returns the Object::Pad::MOP::Class instance representing the class of
26       which this method is a member.
27
28   is_common
29          $bool = $metamethod->is_common
30
31       Since version 0.62.
32
33       Returns true if the method is a class-common method, or false for a
34       regular instance method.
35

AUTHOR

37       Paul Evans <leonerd@leonerd.org.uk>
38
39
40
41perl v5.36.1                      2023-05-15       Object::Pad::MOP::Method(3)
Impressum