1 Revision history for Eval-Closure
4 - Remove a double layer of string eval that was introduced in 0.07 as an
5 intermediate step in figuring out the unique package thing - it's not
6 necessary with the final implementation, and just makes things slower
10 - the given source is now evaled in a unique package for every
11 eval_closure call (it used to always be evaled in the Eval::Closure
12 package, which was especially buggy). this is to avoid issues where one
13 eval_closure modifies the global environment (by, say, importing a
14 function), which could mess up a later call. unfortunately, this means
15 that the memoization stuff no longer works, since it will result in
16 memoized results using the original package, which defeats the purpose.
17 i'm open to suggestions on how to safely reenable it though.
19 - clean up a few stray lexicals we were still closing over in the eval
22 - The dumped source from setting $ENV{EVAL_CLOSURE_PRINT_SOURCE} didn't
23 show the captured variable creation properly. (Dave Rolsky)
26 - make sure Perl::Tidy doesn't look at @ARGV (rafl)
29 - stop using Memoize, it apparently doesn't work properly under mod_perl
30 in some situations (mateu)
33 - don't add #line directives when the debugger is active (alh)
36 - add terse_error option for throwing only the actual compilation error
38 - allow also specifying the line number for error reporting