Class::MOP::Method::Overload(3pm)

Class::MOP::Method::Overload3pm

Method meta object for methods which implement overloading

Version

version 2.1213

Overview

This is a Class::MOP::Method subclass which represents methods that implement overloading.

Methods

Class::MOP::Method::Overload->wrap($metamethod, %options)

This is the constructor. The options accepted are identical to the ones accepted by Class::MOP::Method, except that it also required an "operator" parameter, which should be an operator as defined by the overload pragma.

$metamethod->operator

This returns the operator that was passed to new.

Releases

2 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7
  2. 8