in reply to Perl 5.17 change to use re 'eval' breaks Acme::EyeDrops
Shorn of its obfuscation, that code is equivalent to
Note that the pattern is within a string literal ('') rather than a pattern literal (//). The 5.17.x changes make it so that code blocks which don't need a 'use re eval' can appear only within pattern literals.'' =~ '(?{eval"print\"hello world\\n\""})';
Dave.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl 5.17 change to use re 'eval' breaks Acme::EyeDrops (why?)
by tye (Sage) on Apr 26, 2013 at 06:17 UTC | |
by dave_the_m (Monsignor) on Apr 29, 2013 at 21:09 UTC |
In Section
Seekers of Perl Wisdom