Search results for "module:Eval::Closure"

Eval::Closure - safely and cleanly create closures via string eval River stage four • 15 direct dependents • 6207 total dependents

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 h...

DOY/Eval-Closure-0.14 - 29 May 2016 04:44:19 UTC

Eval::Quosure - Evaluate within a caller environment River stage one • 2 direct dependents • 4 total dependents

This class acts similar to R's "quosure". A "quosure" is an object that combines an expression and an environment in which the expression can be evaluated. Note that as this is string eval so is not secure. USE IT WITH CAUTION!...

SLOYD/Eval-Quosure-0.001001 - 02 May 2019 16:28:33 UTC

Eval::TypeTiny - utility to evaluate a string of Perl code in a clean environment River stage four • 889 direct dependents • 1993 total dependents

This module is used by Type::Tiny to compile coderefs from strings of Perl code, and hashrefs of variables to close over. Functions By default this module exports one function, which works much like the similarly named function from Eval::Closure: "e...

TOBYINK/Type-Tiny-2.000001 - 29 Sep 2022 12:57:21 UTC
3 results (0.045 seconds)