in reply to Re^2: Perl 5.17 change to use re 'eval' breaks Acme::EyeDrops (why?)
in thread Perl 5.17 change to use re 'eval' breaks Acme::EyeDrops
This fixes lots of the bugs in re eval lexical scoping, while only breaking the occasional edge case. And it creates a simple understandable rule for when 'use re eval' needs to be in effect.
It also means that the following, which formerly required 'use re eval', no longer does:
$foo = 'bar'; /(?{...})$foo/
Dave.
|
|---|