How To Install perl-Class-Refresh on Fedora 36

In this tutorial we learn how to install perl-Class-Refresh in Fedora 36. perl-Class-Refresh is Refresh your classes during run time

Introduction

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

What is perl-Class-Refresh

During development, it is fairly common to cycle between writing code and testing that code. Generally the testing happens within the test suite, but frequently it is more convenient to test things by hand when tracking down a bug, or when doing some exploratory coding. In many situations, however, this becomes inconvenient - for instance, in a REPL, or in a stateful web application, restarting from the beginning after every code change can get pretty tedious. This module allows you to reload your application classes on the fly, so that the code/test cycle becomes a lot easier.

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

Install perl-Class-Refresh 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-Refresh using dnf by running the following command:

sudo dnf -y install perl-Class-Refresh

Install perl-Class-Refresh 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-Refresh using yum by running the following command:

sudo yum -y install perl-Class-Refresh

How To Uninstall perl-Class-Refresh on Fedora 36

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

sudo dnf remove perl-Class-Refresh

perl-Class-Refresh Package Contents on Fedora 36

/usr/share/doc/perl-Class-Refresh
/usr/share/doc/perl-Class-Refresh/Changes
/usr/share/doc/perl-Class-Refresh/README
/usr/share/licenses/perl-Class-Refresh
/usr/share/licenses/perl-Class-Refresh/LICENSE
/usr/share/man/man3/Class::Refresh.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Refresh.pm

References

Summary

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