openRuyi Lookout
← Packages

perl-Eval-Closure

Safely and cleanly create closures via string eval

Current
0.14
License
GPL-1.0-or-later OR Artistic-1.0-Perl

Build

TargetResultLast successful versionSucceeded at
rva23
0.14
rva20
0.14
x86_64
0.14

RuntimeDeps

DependencyObserved sourceCurrent requirement
CarpUnmapped
—
constantUnmapped
—
ExporterUnmapped
—
overloadUnmapped
—
Scalar::UtilUnmapped
—
strictUnmapped
—
warningsUnmapped
—

Optional RuntimeDeps

DependencyObserved sourceCurrent requirement
Devel::LexAliasUnmapped
—
Perl::TidyUnmapped
—

Description

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's easy to miss compilation errors, since eval catches them and sticks them in $@ instead.

Changelog

PR · 2

Checks
MonitorObservationLast checked
Checked
Repository refresh: git fetch exited 128 (authentication)
Checked
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Not applicable
No confirmed version upgrade; this monitor is not run.
—
Checked
Not configured
No reliable monitor identity/configuration.
—
Not configured
No reliable monitor identity/configuration.
—