./devel/p5-Guard, Perl5 module to safe cleanup blocks

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q3, Version: 1.023nb8, Package name: p5-Guard-1.023nb8, Maintainer: pkgsrc-users

This module 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.


Master sites: (Expand)

Filesize: 6.899 KB

Version history: (Expand)