From: Jesse Luehrs Date: Tue, 2 Aug 2011 06:50:36 +0000 (-0500) Subject: changelog X-Git-Tag: 0.07~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0de2a1d9871b2c7583379c34597057603336fdd2;p=gitmo%2FEval-Closure.git changelog --- 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