OS Manuals

Moose::Meta::Method::Overridden(3pm)

Moose::Meta::Method::Overridden(3) User Contributed Perl Documentation Moose::Meta::Method::Overridden(3)

This class implements method overriding logic for the Moose "override" keyword.

The overriding subroutine's parent will be invoked explicitly using the "super" keyword from the parent class's method definition.

This constructs a new object. It accepts the following options:

  • class

    The metaclass object for the class in which the override is being declared. This option is required.

  • name

    The name of the method which we are overriding. This method must exist in one of the class's superclasses. This option is required.

  • method

    The subroutine reference which implements the overriding. This option is required.

See "BUGS" in Moose for details on reporting bugs.

2026-10-01 perl v5.44.0

perl-moose 2.4001-r0 · os · ingested 2026-10-01