non port: devel/p5-Eval-Closure/distinfo |
Number of commits found: 7 |
Tuesday, 21 Jun 2016
|
15:07 mat
Update to 0.14.
Sponsored by: Absolight
|
Friday, 15 May 2015
|
15:25 adamw
Update to 0.13.
Changes: https://metacpan.org/changes/distribution/Eval-Closure
|
Sunday, 18 Jan 2015
|
22:49 sunpoet
- Update to 0.12
- Fix TEST_DEPENDS:
- PadWalker is not required
- Test::Output is a development dependency
- Sort PLIST
Changes: http://search.cpan.org/dist/Eval-Closure/Changes
|
Friday, 2 Aug 2013
|
07:30 culot
- Update to 0.11
- Convert to new Uses/perl5.mk framework
Changes: http://search.cpan.org/dist/Eval-Closure/Changes
|
Saturday, 13 Jul 2013
|
11:51 sunpoet
- Update to 0.10
- Cleanup Makefile header
- Fix pkg-descr:
- Remove trailing space
- Use space after WWW:
Changes: http://search.cpan.org/dist/Eval-Closure/Changes
|
Friday, 10 Feb 2012
|
03:10 sunpoet
- Update to 0.08
Changes: http://search.cpan.org/dist/Eval-Closure/Changes
|
Monday, 6 Jun 2011
|
09:27 az
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 can be quite
slow, especially if doing a large number of evals.
This module attempts to solve both of those problems. It provides an
eval_closure function, which evals a string in a clean environment, other than
a fixed list of specified variables. It also caches the result of the eval, so
that doing repeated evals of the same source, even with a different
environment, will be much faster (but note that the description is part of the
string to be evaled, so it must also be the same (or non-existent) if caching
is to work properly).
|
Number of commits found: 7 |