diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-08-02 01:50:36 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-08-02 01:50:36 -0500 |
commit | 0de2a1d9871b2c7583379c34597057603336fdd2 (patch) | |
tree | 701c65c166a527fd7175b5a7e36b8de5adb62c53 | |
parent | 9b61f78189993a7bdc82b034ea64cd1a66084f66 (diff) | |
download | eval-closure-0de2a1d9871b2c7583379c34597057603336fdd2.tar.gz eval-closure-0de2a1d9871b2c7583379c34597057603336fdd2.zip |
changelog
-rw-r--r-- | Changes | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,6 +1,16 @@ Revision history for Eval-Closure {{$NEXT}} + - the given source is now evaled in a unique package for every + eval_closure call (it used to always be evaled in the Eval::Closure + package, which was especially buggy). this is to avoid issues where one + eval_closure modifies the global environment (by, say, importing a + function), which could mess up a later call. unfortunately, this means + that the memoization stuff no longer works, since it will result in + memoized results using the original package, which defeats the purpose. + i'm open to suggestions on how to safely reenable it though. + + - clean up a few stray lexicals we were still closing over in the eval 0.06 2011-06-05 - The dumped source from setting $ENV{EVAL_CLOSURE_PRINT_SOURCE} didn't |