aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Guard/README
diff options
context:
space:
mode:
authorSergei Fedosoff <eleksir@gmail.com>2019-04-12 21:50:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-12 21:55:22 +0700
commitf32d8562330769afef5d1b46f9b6d4bc7bc75c06 (patch)
treebf7d22b73ac4a401cac22dc9c68743c00bf73fde /perl/perl-Guard/README
parent5a6508469eb6e087ed1ea33f269fe472f526f695 (diff)
perl/perl-Guard: Added (safe cleanup blocks).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Guard/README')
-rw-r--r--perl/perl-Guard/README7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl/perl-Guard/README b/perl/perl-Guard/README
new file mode 100644
index 0000000000000..70f36a37d58a7
--- /dev/null
+++ b/perl/perl-Guard/README
@@ -0,0 +1,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.