Object::Pad::MOP::Method - meta-object representation of a method of a Object::Pad class
Object::Pad::MOP::Method
Object::Pad
Instances of this class represent a method of a class implemented by Object::Pad. Accessors provide information about the method.
This API should be considered experimental, and will emit warnings to that effect. They can be silenced with
use Object::Pad qw( :experimental(mop) );
$name = $metamethod->name;
Returns the name of the method, as a plain string.
$metaclass = $metamethod->class;
Returns the Object::Pad::MOP::Class instance representing the class of which this method is a member.
$bool = $metamethod->is_common;
Since version 0.62.
Returns true if the method is a class-common method, or false for a regular instance method.
Paul Evans <leonerd@leonerd.org.uk>
To install Object::Pad, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Object::Pad
CPAN shell
perl -MCPAN -e shell install Object::Pad
For more information on module installation, please visit the detailed CPAN module installation guide.