Object::Pad::MOP::Method - meta-object representation of a method of a Object::Pad class
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 <firstname.lastname@example.org>
To install Object::Pad, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.