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

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


Branch: pkgsrc-2012Q2, Version: 1.022, Package name: p5-Guard-1.022, 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: d144eae8b5ed42315f69da0699946d0e507f56ac
RMD160: a236240f39edb3d0893f8508ac64691f1efffd99
Filesize: 6.634 KB

Version history: (Expand)