Eval::Closure - safely and cleanly create closures via string eval River stage four • 16 direct dependents • 6763 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 • 2 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 • 865 direct dependents • 2135 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 This module exports one function, which works much like the similarly named function from Eval::Closure: "eval_closure...

TOBYINK/Type-Tiny-1.010006 - 04 Sep 2020 10:36:25 UTC

3 results (0.031 seconds)