PaulHowarth/Blog/2012-02-04

Saturday 4th February 2012

Local Packages

  • Updated perl-Eval-Closure to 0.07:

    • The given source is now evaled in a unique package for every eval_closure call (it always used to 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
    • Clean up a few stray lexicals we were still closing over in the eval

  • Updated perl-Moose to 2.0402:

    • Minor documentation fixes
    • Fix test failure on blead (test was unnecessarily strict)


Recent