summaryrefslogtreecommitdiff
path: root/devel/p5-Guard/DESCR
blob: 8c5779e23f273775571b3c02d7b6a2caed15708b (plain)
1
2
3
4
5
6
7
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.