X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Changes;h=2415f023b1347dd9b9e87a11eb43ab40d2f33f1e;hb=0de2a1d9871b2c7583379c34597057603336fdd2;hp=bfa744569884161d9064890932416176e3caac7f;hpb=9b61f78189993a7bdc82b034ea64cd1a66084f66;p=gitmo%2FEval-Closure.git diff --git a/Changes b/Changes index bfa7445..2415f02 100644 --- a/Changes +++ b/Changes @@ -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