How To Install perl-Scope-Upper on Rocky Linux 8

In this tutorial we learn how to install perl-Scope-Upper on Rocky Linux 8. perl-Scope-Upper is Act on upper scopes

Introduction

In this tutorial we learn how to install perl-Scope-Upper on Rocky Linux 8.

What is perl-Scope-Upper

This module lets you defer actions that will take place when the control flow returns into an upper scope. Currently, you can hook an upper scope end, or localize variables, array/hash values or deletions of elements in higher contexts. You can also return to an upper level and know which context was in use then.

We can use yum or dnf to install perl-Scope-Upper on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Scope-Upper.

Install perl-Scope-Upper on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Scope-Upper using dnf by running the following command:

sudo dnf -y install perl-Scope-Upper

Install perl-Scope-Upper on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Scope-Upper using yum by running the following command:

sudo yum -y install perl-Scope-Upper

How To Uninstall perl-Scope-Upper on Rocky Linux 8

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

sudo dnf remove perl-Scope-Upper

perl-Scope-Upper Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/0572db8cd2e95f113dde2b66d32a146cbdcf56
/usr/lib64/perl5/vendor_perl/Scope
/usr/lib64/perl5/vendor_perl/Scope/Upper.pm
/usr/lib64/perl5/vendor_perl/auto/Scope
/usr/lib64/perl5/vendor_perl/auto/Scope/Upper
/usr/lib64/perl5/vendor_perl/auto/Scope/Upper/Upper.so
/usr/share/doc/perl-Scope-Upper
/usr/share/doc/perl-Scope-Upper/Changes
/usr/share/doc/perl-Scope-Upper/README
/usr/share/doc/perl-Scope-Upper/samples
/usr/share/doc/perl-Scope-Upper/samples/bench_uplevel.pl
/usr/share/doc/perl-Scope-Upper/samples/tag.pl
/usr/share/doc/perl-Scope-Upper/samples/try.pl
/usr/share/man/man3/Scope::Upper.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Scope-Upper on Rocky Linux 8 using yum and dnf.