logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

Paul Evans <leonerd@leonerd.org.uk> perl v5.40.1 2025-03-03 Object::Pad::MOP::Method(3pm)

Description

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) );

Methods

name $name = $metamethod->name; Returns the name of the method, as a plain string. class $metaclass = $metamethod->class; Returns the Object::Pad::MOP::Class instance representing the class of which this method is a member. is_common $bool = $metamethod->is_common; Sinceversion0.62. Returns true if the method is a class-common method, or false for a regular instance method.

Name

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

See Also