Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: copy_hints
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (28 sloc) 1.438 kb
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
show the captured variable creation properly. (Dave Rolsky)
0.05 2011-04-25
- make sure Perl::Tidy doesn't look at @ARGV (rafl)
0.04 2011-04-15
- stop using Memoize, it apparently doesn't work properly under mod_perl
in some situations (mateu)
0.03 2011-03-02
- don't add #line directives when the debugger is active (alh)
0.02 2011-01-26
- add terse_error option for throwing only the actual compilation error
(Shawn M Moore)
- allow also specifying the line number for error reporting
(Shawn M Moore)
0.01 2010-11-14
- Initial release
Jump to Line
Something went wrong with that request. Please try again.