./devel/p5-Eval-Closure [safely and cleanly create closures via string eval]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.14, Package name: p5-Eval-Closure-0.14
Maintained by: The OpenBSD ports mailing-list
Master sites:
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.

This module attempts to solve these problems. It provides an
eval_closure function, which evals a string in a clean environment,
other than a fixed list of specified variables. Compilation errors are
rethrown automatically.


Filesize: 19.656 KB
Version History (View Complete History)
  • (2016-09-03) Updated to version: p5-Eval-Closure-0.14
  • (2015-05-17) Updated to version: p5-Eval-Closure-0.13
  • (2015-01-19) Updated to version: p5-Eval-Closure-0.12
  • (2014-03-22) Package added to openports.se, version p5-Eval-Closure-0.11 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2016-09-02 16:33:50 by Antoine Jacoutot | Files touched by this commit (2)
Log message:
Update to p5-Eval-Closure-0.14.
   2016-09-02 16:33:50 by Antoine Jacoutot | Files touched by this commit (2)
Log message:
Update to p5-Eval-Closure-0.14.
   2016-03-20 13:57:24 by Christian Weisgerber | Files touched by this commit (1617)
Log message:
Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.
   2015-05-17 01:19:39 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Eval-Closure-0.13.
   2015-05-17 01:19:39 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Eval-Closure-0.13.
   2015-01-19 06:08:03 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Eval-Closure-0.12.
ok ajacoutot@
   2015-01-19 06:08:03 by Benoit Lecocq | Files touched by this commit (2)
Log message:
Update to p5-Eval-Closure-0.12.
ok ajacoutot@