# devel/p5-Eval-Closure - The NetBSD Packages Collection

Safely and cleanly create closures via string eval

    String eval is often used for dynamic code generation. For instance,
    Moose uses it heavily, to generate inlined versions of accessors
    and constructors, which speeds code up at runtime by a significant
    amount. String eval is not without its issues however - it's
    difficult to control the scope it's used in (which determines which
    variables are in scope inside the eval), and it can be quite slow,
    especially if doing a large number of evals.

    This module attempts to solve both of those problems. It provides
    an eval_closure function, which evals a string in a clean environment,
    other than a fixed list of specified variables. It also caches the
    result of the eval, so that doing repeated evals of the same source,
    even with a different environment, will be much faster (but note
    that the description is part of the string to be evaled, so it must
    also be the same (or non-existent) if caching is to work properly).

- Source version: `p5-Eval-Closure-0.14nb10`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://metacpan.org/release/Eval-Closure
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## Build dependencies

devel/p5-Test-Fatal devel/p5-Test-Requires devel/p5-Devel-LexAlias pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

devel/p5-Sub-Exporter devel/p5-Try-Tiny lang/perl5 lang/perl5

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | aarch64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | aarch64eb | p5-Eval-Closure-0.14nb9.tgz
NetBSD 10.0 | alpha | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | earmv4 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | earmv4 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | earmv6hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | earmv6hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | earmv7hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | earmv7hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | i386 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | i386 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | m68k | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | m68k | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | powerpc | p5-Eval-Closure-0.14nb9.tgz
NetBSD 10.0 | powerpc | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | powerpc | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | sh3el | p5-Eval-Closure-0.14nb9.tgz
NetBSD 10.0 | sparc64 | p5-Eval-Closure-0.14nb8.tgz
NetBSD 10.0 | sparc64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | sparc64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | vax | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | vax | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | x86_64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 10.0 | x86_64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | aarch64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | aarch64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | aarch64eb | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | aarch64eb | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | earmv4 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | earmv4 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | earmv6hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | earmv6hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | earmv7hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | earmv7hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | i386 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | i386 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | m68k | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | m68k | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | mips64eb | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | mips64eb | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | mipsel | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | mipsel | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | powerpc | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | powerpc | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | riscv64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | riscv64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | sh3el | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | vax | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | vax | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | x86_64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 11.0 | x86_64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | aarch64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | aarch64 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | earmv4 | p5-Eval-Closure-0.14nb9.tgz
NetBSD 9.0 | earmv6hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | earmv6hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | earmv7hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | earmv7hf | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | i386 | p5-Eval-Closure-0.14nb10.tgz
NetBSD 9.0 | m68k | p5-Eval-Closure-0.14nb9.tgz
NetBSD 9.0 | powerpc | p5-Eval-Closure-0.14nb9.tgz
NetBSD 9.0 | x86_64 | p5-Eval-Closure-0.14nb10.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.