How To Install perl-Sentinel on Fedora 36

In this tutorial we learn how to install perl-Sentinel in Fedora 36. perl-Sentinel is Create lightweight SCALARs with get/set callbacks

Introduction

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

What is perl-Sentinel

This module provides a single lvalue function, sentinel, which yields a scalar that invoke callbacks to get or set its value. Primarily this is useful to create lvalue object accessors or other functions, to invoke actual code when a new value is set, rather than simply updating a scalar variable.

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

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

sudo dnf -y install perl-Sentinel

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

sudo yum -y install perl-Sentinel

How To Uninstall perl-Sentinel on Fedora 36

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

sudo dnf remove perl-Sentinel

perl-Sentinel Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/c61161bdc31a2e6574dcde3dba80a68d2fd67f
/usr/lib64/perl5/vendor_perl/Sentinel.pm
/usr/lib64/perl5/vendor_perl/auto/Sentinel
/usr/lib64/perl5/vendor_perl/auto/Sentinel/Sentinel.so
/usr/share/doc/perl-Sentinel
/usr/share/doc/perl-Sentinel/Changes
/usr/share/doc/perl-Sentinel/README
/usr/share/licenses/perl-Sentinel
/usr/share/licenses/perl-Sentinel/LICENSE
/usr/share/man/man3/Sentinel.3pm.gz

References

Summary

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