Subject: | Unescaped left brace in regex is deprecated |
Date: | Fri, 15 Jun 2018 13:58:53 -0500 |
To: | bug-chi [...] rt.cpan.org |
From: | Michael Schout <mschout [...] gkg.net> |
The CHI::t::Driver package emits the following warning under modern perls:
# (in CHI::Driver::BerkeleyDB::Tests->test_multiple_processes)
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/CHI stats: { <-- HERE
"absent_misses":2,"end_time":\d+,"expired_misses":1,"get_time_ms":\d+,"hits":1,"label":"BerkeleyDB","namespace":"Foo","root_class":"CHI","set_key_size":6,"set_time_ms":\d+,"set_value_size":20,"sets":1,"start_time":\d+}/
at
/Users/mschout/.perlbrew/libs/perl-5.24.2@mschout/lib/perl5/CHI/t/Driver.pm
line 1279.
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/CHI stats: { <-- HERE
"end_time":\d+,"label":"BerkeleyDB","namespace":"Bar","root_class":"CHI","set_key_size":12,"set_time_ms":\d+,"set_value_size":52,"sets":2,"start_time":\d+}/
at
/Users/mschout/.perlbrew/libs/perl-5.24.2@mschout/lib/perl5/CHI/t/Driver.pm
line 1282.
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/CHI stats: { <-- HERE
"absent_misses":1,"compute_time_ms":\d+,"computes":1,"end_time":\d+,"get_time_ms":\d+,"hits":2,"label":"BerkeleyDB","namespace":"Baz","root_class":"CHI","set_key_size":6,"set_time_ms":\d+,"set_value_size":44,"sets":1,"start_time":\d+}/
at
/Users/mschout/.perlbrew/libs/perl-5.24.2@mschout/lib/perl5/CHI/t/Driver.pm
line 1285.
I'll submit a PR on github for this shortly.