How To Install perl-Class-Method-Modifiers on Fedora 36

In this tutorial we learn how to install perl-Class-Method-Modifiers in Fedora 36. perl-Class-Method-Modifiers is Provides Moose-like method modifiers

Introduction

In this tutorial we learn how to install perl-Class-Method-Modifiers on Fedora 36.

What is perl-Class-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 invocation, so my classes seldom re-dispatch to their base classes. Very bad! ‘Class 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.

We can use yum or dnf to install perl-Class-Method-Modifiers on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Class-Method-Modifiers.

Install perl-Class-Method-Modifiers on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Class-Method-Modifiers using dnf by running the following command:

sudo dnf -y install perl-Class-Method-Modifiers

Install perl-Class-Method-Modifiers on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Class-Method-Modifiers using yum by running the following command:

sudo yum -y install perl-Class-Method-Modifiers

How To Uninstall perl-Class-Method-Modifiers on Fedora 36

To uninstall only the perl-Class-Method-Modifiers package we can use the following command:

sudo dnf remove perl-Class-Method-Modifiers

perl-Class-Method-Modifiers Package Contents on Fedora 36

/usr/share/doc/perl-Class-Method-Modifiers
/usr/share/doc/perl-Class-Method-Modifiers/CONTRIBUTING
/usr/share/doc/perl-Class-Method-Modifiers/Changes
/usr/share/doc/perl-Class-Method-Modifiers/README
/usr/share/doc/perl-Class-Method-Modifiers/t
/usr/share/doc/perl-Class-Method-Modifiers/t/00-report-prereqs.dd
/usr/share/doc/perl-Class-Method-Modifiers/t/00-report-prereqs.t
/usr/share/doc/perl-Class-Method-Modifiers/t/000-load.t
/usr/share/doc/perl-Class-Method-Modifiers/t/001-error.t
/usr/share/doc/perl-Class-Method-Modifiers/t/002-cache.t
/usr/share/doc/perl-Class-Method-Modifiers/t/003-basic.t
/usr/share/doc/perl-Class-Method-Modifiers/t/004-around.t
/usr/share/doc/perl-Class-Method-Modifiers/t/005-return.t
/usr/share/doc/perl-Class-Method-Modifiers/t/010-before-args.t
/usr/share/doc/perl-Class-Method-Modifiers/t/011-after-args.t
/usr/share/doc/perl-Class-Method-Modifiers/t/012-around-args.t
/usr/share/doc/perl-Class-Method-Modifiers/t/020-multiple-inheritance.t
/usr/share/doc/perl-Class-Method-Modifiers/t/030-multiple-before.t
/usr/share/doc/perl-Class-Method-Modifiers/t/031-multiple-after.t
/usr/share/doc/perl-Class-Method-Modifiers/t/032-multiple-around.t
/usr/share/doc/perl-Class-Method-Modifiers/t/034-multiple-everything.t
/usr/share/doc/perl-Class-Method-Modifiers/t/035-multiple-everything-twice.t
/usr/share/doc/perl-Class-Method-Modifiers/t/040-twice-orig.t
/usr/share/doc/perl-Class-Method-Modifiers/t/041-modify-parent.t
/usr/share/doc/perl-Class-Method-Modifiers/t/051-undef-list-ctxt.t
/usr/share/doc/perl-Class-Method-Modifiers/t/060-caller.t
/usr/share/doc/perl-Class-Method-Modifiers/t/070-modify-multiple-at-once.t
/usr/share/doc/perl-Class-Method-Modifiers/t/080-multiple-modifiers.t
/usr/share/doc/perl-Class-Method-Modifiers/t/081-sub-and-modifier.t
/usr/share/doc/perl-Class-Method-Modifiers/t/090-diamond.t
/usr/share/doc/perl-Class-Method-Modifiers/t/100-class-mop-method-modifiers.t
/usr/share/doc/perl-Class-Method-Modifiers/t/110-namespace-clean.t
/usr/share/doc/perl-Class-Method-Modifiers/t/120-fresh.t
/usr/share/doc/perl-Class-Method-Modifiers/t/130-clean-underscore.t
/usr/share/doc/perl-Class-Method-Modifiers/t/140-lvalue.t
/usr/share/licenses/perl-Class-Method-Modifiers
/usr/share/licenses/perl-Class-Method-Modifiers/LICENSE
/usr/share/man/man3/Class::Method::Modifiers.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Method
/usr/share/perl5/vendor_perl/Class/Method/Modifiers.pm

References

Summary

In this tutorial we learn how to install perl-Class-Method-Modifiers on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).