How To Install perl-Class-Throwable on Fedora 36

In this tutorial we learn how to install perl-Class-Throwable in Fedora 36. perl-Class-Throwable is A minimal lightweight exception class

Introduction

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

What is perl-Class-Throwable

This module implements a minimal lightweight exception object. It is meant to be a compromise between more basic solutions like Carp which can only print information and cannot handle exception objects, and more complex solutions like Exception complex inline exceptions and has a number of module dependencies.

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

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

sudo dnf -y install perl-Class-Throwable

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

sudo yum -y install perl-Class-Throwable

How To Uninstall perl-Class-Throwable on Fedora 36

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

sudo dnf remove perl-Class-Throwable

perl-Class-Throwable Package Contents on Fedora 36

/usr/share/doc/perl-Class-Throwable
/usr/share/doc/perl-Class-Throwable/Changes
/usr/share/doc/perl-Class-Throwable/README
/usr/share/doc/perl-Class-Throwable/t
/usr/share/doc/perl-Class-Throwable/t/10_Class_Throwable_test.t
/usr/share/doc/perl-Class-Throwable/t/20_Class_Throwable_subException_test.t
/usr/share/doc/perl-Class-Throwable/t/30_Class_Throwable_inline_exceptions_test.t
/usr/share/doc/perl-Class-Throwable/t/35_Class_Throwable_sub_class_test.t
/usr/share/doc/perl-Class-Throwable/t/40_Class_Throwable_misc_test.t
/usr/share/doc/perl-Class-Throwable/t/50_Class_Throwable_retrofit_test.t
/usr/share/doc/perl-Class-Throwable/t/TestException.pm
/usr/share/doc/perl-Class-Throwable/t/pod.t
/usr/share/doc/perl-Class-Throwable/t/pod_coverage.t
/usr/share/man/man3/Class::Throwable.3pm.gz
/usr/share/perl5/vendor_perl/Class
/usr/share/perl5/vendor_perl/Class/Throwable.pm

References

Summary

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