How to install perl-Class-Method-Modifiers on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Provides Moose-like method modifiers

License: GPL+ or Artistic Vendor: Fedora Project http://search.cpan.org/dist/Class-Method-Modifiers

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel noarch Version
RHEL 7 Base 2.10

Description

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.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7

perl-Class-Method-Modifiers on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install perl-Class-Method-Modifiers

Package downloads require an active GetPageSpeed subscription — one repository for perl-Class-Method-Modifiers and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install perl-Class-Method-Modifiers on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the perl-Class-Method-Modifiers package with your system package manager.

Which Enterprise Linux versions is perl-Class-Method-Modifiers available for?

perl-Class-Method-Modifiers is available for RHEL 7.

Subscribe