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

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


Branch: pkgsrc-2010Q2, Version: 1.021, Package name: p5-Guard-1.021, 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)

SHA1: a2e6ca5a8336add12c5a75cbd7408e14f62d2a77
RMD160: d432ea4c9fdff3eaa41fe786cb52201acb870d27
Filesize: 6.466 KB

Version history: (Expand)