How to install perl-Scope-Guard on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Lexically scoped resource management
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | noarch | Version |
|---|---|---|---|
| RHEL 7 | Base | 0.20 |
Description
This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope. It is particularly useful when dealing with exceptions: the Scope::Guard constructor takes a reference to a subroutine that is guaranteed to be called even if the thread of execution is aborted prematurely. This effectively allows lexically-scoped "promises" to be made that are automatically honored by perl's garbage collector.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
perl-Scope-Guard on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install perl-Scope-Guard
Package downloads require an active GetPageSpeed subscription — one repository for perl-Scope-Guard and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install perl-Scope-Guard on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the perl-Scope-Guard package with your system package manager.
Which Enterprise Linux versions is perl-Scope-Guard available for?
perl-Scope-Guard is available for RHEL 7.