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

perl-scope-guard

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 the latest version of perl-scope-guard as follows:

guix install perl-scope-guard

Or install a particular version:

guix install perl-scope-guard@0.21

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.

Badge code

You can use the following badge to inform users of perl-scope-guard about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/perl-scope-guard'><img src='https://packages.guix.gnu.org/packages/perl-scope-guard/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/perl-scope-guard/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/perl-scope-guard)

Example Org:

[[https://packages.guix.gnu.org/packages/perl-scope-guard][https://packages.guix.gnu.org/packages/perl-scope-guard/badges/latest-version.svg]]