Subject: | Unescaped left brace in regex is deprecated |
Tests fail with newer perls:
...
# Failed test 'no warnings'
# at /opt/perl-5.27.5/lib/site_perl/5.27.5/Test/Builder.pm line 158.
# There were 1 warning(s)
# Previous test 0 ''
# Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE / at /home/cpansand/.cpan/build/2017112018/App-Textcast-0.06.15-1/blib/lib/App/Textcast.pm line 706.
# at /home/cpansand/.cpan/build/2017112018/App-Textcast-0.06.15-1/blib/lib/App/Textcast.pm line 706.
# require App/Textcast.pm called at t/001_load.t line 11
# main::BEGIN() called at /home/cpansand/.cpan/build/2017112018/App-Textcast-0.06.15-1/blib/lib/App/Textcast.pm line 706
# eval {...} called at /home/cpansand/.cpan/build/2017112018/App-Textcast-0.06.15-1/blib/lib/App/Textcast.pm line 706
# eval 'package main;
# BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] }
# #line 11 t/001_load.t
# use App::Textcast @{$args[0]};
# 1;
# ' called at /opt/perl-5.27.5/lib/site_perl/5.27.5/Test/More.pm line 1031
# Test::More::_eval("package main;\x{a}BEGIN { \${^WARNING_BITS} = \$args[-1] if defined"..., ARRAY(0x55c00932ecb0), "UUUUUUUUUUUUUUUUU\x{15}") called at /opt/perl-5.27.5/lib/site_perl/5.27.5/Test/More.pm line 1007
# Test::More::use_ok("App::Textcast") called at t/001_load.t line 11
# main::BEGIN() called at /home/cpansand/.cpan/build/2017112018/App-Textcast-0.06.15-1/blib/lib/App/Textcast.pm line 706
# eval {...} called at /home/cpansand/.cpan/build/2017112018/App-Textcast-0.06.15-1/blib/lib/App/Textcast.pm line 706
#
# Looks like you failed 1 test of 2.
t/001_load.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
...