How To Install perl-Class-C3-Adopt-NEXT on Fedora 36
Introduction
In this tutorial we learn how to install perl-Class-C3-Adopt-NEXT
on Fedora 36.
What is perl-Class-C3-Adopt-NEXT
NEXT was a good solution a few years ago, but isn’t any more. It’s slow, and the order in which it re-dispatches methods appears random at times. It also encourages bad programming practices, as you end up with code to redispatch methods when all you really wanted to do was run some code before or after a method fired. However, if you have a large application, then weaning yourself off ‘NEXT’ isn’t easy.This module is intended as a drop-in replacement for NEXT, supporting the same interface, but using Class without ‘NEXT’, and migrate individual source files to use ‘Class or method modifiers as appropriate, at whatever pace you’re comfortable with.
We can use yum
or dnf
to install perl-Class-C3-Adopt-NEXT
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Class-C3-Adopt-NEXT.
Install perl-Class-C3-Adopt-NEXT 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-C3-Adopt-NEXT
using dnf
by running the following command:
sudo dnf -y install perl-Class-C3-Adopt-NEXT
Install perl-Class-C3-Adopt-NEXT 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-C3-Adopt-NEXT
using yum
by running the following command:
sudo yum -y install perl-Class-C3-Adopt-NEXT
How To Uninstall perl-Class-C3-Adopt-NEXT on Fedora 36
To uninstall only the perl-Class-C3-Adopt-NEXT
package we can use the following command:
sudo dnf remove perl-Class-C3-Adopt-NEXT
perl-Class-C3-Adopt-NEXT Package Contents on Fedora 36
/usr/share/doc/perl-Class-C3-Adopt-NEXT
/usr/share/doc/perl-Class-C3-Adopt-NEXT/CONTRIBUTING
/usr/share/doc/perl-Class-C3-Adopt-NEXT/Changes
/usr/share/doc/perl-Class-C3-Adopt-NEXT/README
/usr/share/licenses/perl-Class-C3-Adopt-NEXT
/usr/share/licenses/perl-Class-C3-Adopt-NEXT/LICENSE
/usr/share/man/man3/Class::C3::Adopt::NEXT.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/C3
/usr/share/perl5/vendor_perl/Class/C3/Adopt
/usr/share/perl5/vendor_perl/Class/C3/Adopt/NEXT.pm
References
Summary
In this tutorial we learn how to install perl-Class-C3-Adopt-NEXT
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).