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

perl-guard 1.023

Safe cleanup blocks implemented as guards

Guard implements so-called guards. A guard is something (usually an object) that "guards" a resource, ensuring that it is cleaned up when expected.

Specifically, this module supports two different types of guards: guard objects, which execute a given code block when destroyed, and scoped guards, which are tied to the scope exit.

Installation

Install perl-guard 1.023 as follows:

guix install perl-guard@1.023

Or install the latest version:

guix install perl-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.