Fedora Packages

perl-Class-Method-Modifiers

Provides Moose-like method modifiers

Method modifiers are a powerful feature from the CLOS (Common Lisp Object System) world. In its most basic form, a method modifier is just a method that calls '$self->SUPER::foo(@_)'. I for one have trouble remembering that exact invocation, so my classes seldom re-dispatch to their base classes. Very bad! 'Class::Method::Modifiers' provides three modifiers: 'before', 'around', and 'after'. 'before' and 'after' are run just before and after the method they modify, but can not really affect that original method. 'around' is run in place of the original method, with a hook to easily call that original method. See the 'MODIFIERS' section for more details on how the particular modifiers work.

Releases Overview

Release Stable Testing
Fedora Rawhide 2.15-4.fc40 -
Fedora 40 2.15-4.fc40 -
Fedora 39 2.15-2.fc39 -
Fedora 38 2.15-1.fc38 -
EPEL 7 2.10-1.el7 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at perl-Class-Method-Modifiers dash maintainers at fedoraproject dot org.



Sources on Pagure