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


in reply to Regex re_eval - requires explicit package name

Should I consider this a bug?

I think probably not, I vaguely recall that with this experimental feature, you're supposed to use dynamic/local vars instead of lexical/my vars

update: Re: (??{ code }) versus (?PARNO) for recursive regular expressions (lexicals won't stay shared ), Variable scoping oddity inside (??{ ... }), (??{ lexical variable }), Scoping issues with code evaluation asserstions?