Name scope-guard-perl
Version 0.21
Summary
Description 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 guaranteed to be called even if the thread of execution is aborted prematurely. This effectively allows lexically-scoped "promises" to be made that are automatically honoured by perl's garbage collector.
Section libs
License Artistic-1.0 | GPL-1.0-or-later
Homepage https://metacpan.org/release/Scope-Guard
Recipe file recipes-devel/scope-guard-perl/scope-guard-perl_0.21.bb
Layer meta-cpan (master branch)
Inherits
  • allarch
  • cpan
  • cpan-base
  • perl-version
  • perlnative
Dependencies
  • perl
  • perl-native
PACKAGECONFIG options

Sources

https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/Scope-Guard-0.21.tar.gz

Patches

None

Other branches

This recipe in other branches of meta-cpan:

Branch Recipe
master scope-guard-perl 0.21 (this recipe)
gatesgarth (Yocto Project 3.2) scope-guard-perl 0.21
thud (Yocto Project 2.6) scope-guard-perl 0.21
rocko (Yocto Project 2.4) scope-guard-perl 0.21