http://www.perlmonks.org?node_id=1014293


in reply to Re: Regex re_eval - requires explicit package name
in thread Regex re_eval - requires explicit package name

I vaguely recall that with this experimental feature, you're supposed to use dynamic/local vars instead of lexical/my vars
That's because the code was exceedingly buggy and would usually use the wrong pad, resulting in unexpected behaviour or seg faults before 5.17.1 (for which I completely rewrote the feature). Its now safe and sane to use lexicals, modulo any new bugs I may have introduced.

Dave.

  • Comment on Re^2: Regex re_eval - requires explicit package name