Syntactic Confectionery Delight | |
PerlMonks |
Re: Perl 5.17 change to use re 'eval' breaks Acme::EyeDropsby dave_the_m (Monsignor) |
on Apr 25, 2013 at 08:44 UTC ( [id://1030627]=note: print w/replies, xml ) | Need Help?? |
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. Dave.
In Section
Seekers of Perl Wisdom
|
|