Lexically scoped resource management
23.81 KB
built 2026-10-17 00:21:14 GMT
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.
Dependencies
14 totalRequires13
- coreutils
- findutils
- make
- perl(Carp)
- perl(Exporter)
- perl(ExtUtils::MakeMaker)
- perl(Test::More)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- perl-Scope-Guard = 0.21-32.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Scope-Guard-0.21.tar.gz | 4.27 KB |
| perl-Scope-Guard.spec | 8.94 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
