The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Scope::Guard"

Scope::Guard - lexically-scoped resource management River stage four • 67 direct dependents • 4485 total dependents

This module provides a convenient way to perform cleanup or other forms of resource management at the end of a scope. It is particularly useful when dealing with exceptions: the "Scope::Guard" constructor takes a reference to a subroutine that is gua...

CHOCOLATE/Scope-Guard-0.21 - 19 Jul 2015 22:17:53 UTC

SPVM::Scope::Guard - Executing Callback at End of Scope River stage two • 23 direct dependents • 26 total dependents

The Scope::Guard class has the methods to execute a callback at the end of the scope....

KIMOTO/SPVM-0.990001 - 26 Apr 2024 00:45:58 UTC

autodie::Scope::Guard - Wrapper class for calling subs at end of scope River stage four • 462 direct dependents • 2165 total dependents

This class is used to bless perl subs so that they are invoked when they are destroyed. This is mostly useful for ensuring the code is invoked at end of scope. This module is not a part of autodie's public API. This module is directly inspired by cho...

TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC

autodie::Scope::GuardStack - Hook stack for managing scopes via %^H River stage four • 462 direct dependents • 2165 total dependents

This class is a stack of hooks to be called in the right order as scopes go away. The stack is only useful when inserted into "%^H" and will pop hooks as their "scope" is popped. This is useful for uninstalling or reinstalling subs in a namespace as ...

TODDR/autodie-2.37 - 28 Dec 2023 19:13:52 UTC

lib/MooseX/Compile/Base.pm River stage one • 1 direct dependent • 1 total dependent

NUFFIN/MooseX-Compile-0.01 - 22 Jan 2008 19:32:16 UTC

Locale::Scope - scope based setlocale(3) River stage zero No dependents

THE SOFTWARE IS IT'S IN ALPHA QUALITY. IT MAY CHANGE THE API WITHOUT NOTICE. Locale::Scope is scope based setlocale(3) for rollback locale at the end of a scope....

KARUPA/Locale-Scope-0.04 - 04 Mar 2018 08:44:21 UTC

Scope::Upper - Act on upper scopes. River stage two • 15 direct dependents • 48 total dependents

This module lets you defer actions *at run-time* that will take place when the control flow returns into an upper scope. Currently, you can: * hook an upper scope end with "reap" ; * localize variables, array/hash values or deletions of elements in h...

VPIT/Scope-Upper-0.34 - 26 Mar 2023 15:58:01 UTC

Scope::OnExit::Wrap - run code on scope exit (with pure Perl fallback) River stage one • 2 direct dependents • 2 total dependents

This module is a thin wrapper around "Scope::OnExit", which is written in C. If "Scope::OnExit" is not available, it provides its own pure Perl implementation equivalent to "End" (which adds a tiny bit of overhead: an object is constructed and its de...

MAUKE/Scope-OnExit-Wrap-0.02 - 10 Nov 2014 22:34:14 UTC
8 results (0.033 seconds)