How To Install perl-Scope-Upper on Fedora 36

In this tutorial we learn how to install perl-Scope-Upper in Fedora 36. perl-Scope-Upper is Act on upper scopes

Introduction

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

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 Fedora 36. 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 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-Scope-Upper using dnf by running the following command:

sudo dnf -y install perl-Scope-Upper

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

sudo yum -y install perl-Scope-Upper

How To Uninstall perl-Scope-Upper on Fedora 36

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 Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/d61e88e81618f2f16c4d2e2c17ec5ae193dd4e
/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).