[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Eval-Closure
Module Name: pkgsrc
Committed By: sno
Date: Thu Mar 22 13:27:21 UTC 2012
pkgsrc/devel/p5-Eval-Closure: Makefile distinfo
Updating package for Perl5 module Eval::Closure from CPAN in
devel/p5-Eval-Closure from 0.06 to 0.08.
- change no-version dependency notation from x>=0 into x-[0-9]*
- Remove a double layer of string eval that was introduced in 0.07 as an
intermediate step in figuring out the unique package thing - it's not
necessary with the final implementation, and just makes things slower
and hides errors.
- 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
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/p5-Eval-Closure/Makefile
cvs rdiff -u -r22.214.171.124 -r1.2 pkgsrc/devel/p5-Eval-Closure/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |