← 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
RuntimeDeps
| Dependency | Observed source | Current requirement |
|---|---|---|
CarpUnmapped | — | |
constantUnmapped | — | |
ExporterUnmapped | — | |
overloadUnmapped | — | |
Scalar::UtilUnmapped | — | |
strictUnmapped | — | |
warningsUnmapped | — |
Optional RuntimeDeps
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
| Monitor | Observation | Last 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. | — |