Guard - safe cleanup blocks https://www.cpan.org/
Go to file
2024-01-06 09:05:03 +01:00
perl-Guard.spec rebuilt with perl 5.36.0 [release 1.023-3mamba;Sun Apr 16 2023] 2024-01-06 09:05:03 +01:00
README.md perl 5.16 mass rebuild [release 1.022-2mamba;Mon Nov 12 2012] 2024-01-06 09:05:02 +01:00

perl-Guard

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.