Eval::Closure - safely and cleanly create closures via string eval River stage four • 16 direct dependents • 6574 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 GMT

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 GMT

Eval::TypeTiny - utility to evaluate a string of Perl code in a clean environment River stage four • 829 direct dependents • 2008 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.006000 - 12 Nov 2019 09:34:51 GMT

3 results (0.041 seconds)