pkgsrc/devel/p5-Guard/DESCR
sno 95c4e3cff7 Importing package for p5 module Guard as dependency for devel/p5-AnyEvent.
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.
2009-08-08 20:52:22 +00:00

7 lines
340 B
Text

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.