How To Install perl-End on Fedora 36

In this tutorial we learn how to install perl-End in Fedora 36. perl-End is Generalized END blocks

Introduction

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

What is perl-End

The module End exports a single subroutine which allows you to set up some code that is run whenever the current block is exited, regardless whether that is due to a return, next, last, redo, exit, die, goto or just reaching the end of the block.

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

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

sudo dnf -y install perl-End

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

sudo yum -y install perl-End

How To Uninstall perl-End on Fedora 36

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

sudo dnf remove perl-End

perl-End Package Contents on Fedora 36

/usr/share/doc/perl-End
/usr/share/doc/perl-End/Changes
/usr/share/doc/perl-End/README
/usr/share/man/man3/End.3pm.gz
/usr/share/perl5/vendor_perl/End.pm

References

Summary

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