Subject: | Unescaped left brace in regex is illegal in regex |
Compilation fails with newer perls (e.g. 5.25.1):
...
# Failed test 'use Text::Variations;'
# at t/complex.t line 4.
# Tried to use 'Text::Variations'.
# Error: Unescaped left brace in regex is illegal in regex; marked by <-- HERE in m/ {{ <-- HERE (\w+) }} / at /home/cpansand/.cpan/build/2016060706/Text-Variations-0.02-yZGWj3/blib/lib/Text/Variations.pm line 156.
# Compilation failed in require at t/complex.t line 4.
# BEGIN failed--compilation aborted at t/complex.t line 4.
Can't locate object method "_interpolate_string" via package "Text::Variations" at /home/cpansand/.cpan/build/2016060706/Text-Variations-0.02-yZGWj3/blib/lib/Text/Variations.pm line 118.
# Looks like your test exited with 255 just after 1.
t/complex.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/2 subtests
...