This package browser is in early development. Mind the rough edges.

perl-scope-guard 0.21

Lexically-scoped resource management

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 honoured by perl's garbage collector.

Installation

Install perl-scope-guard 0.21 as follows:

guix install perl-scope-guard@0.21

Or install the latest version:

guix install perl-scope-guard

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.