The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "module:Eval::Closure"

Eval::Closure - safely and cleanly create closures via string eval River stage four • 18 direct dependents • 6409 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.001002 - 04 Feb 2023 14:47:24 UTC

Eval::TypeTiny - utility to evaluate a string of Perl code in a clean environment River stage four • 836 direct dependents • 2563 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.004000 - 05 Apr 2023 09:28:11 UTC
3 results (0.041 seconds)