Subject: | Unescaped left brace in regex is illegal |
The test suite fails with perl 5.26.x:
...
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/role Before { <-- HERE
public seven { return '7' }
}/ at /home/cpansand/.cpan/build/2019081310/MooX-Purple-0.07-0/blib/lib/MooX/Purple/G.pm line 48.
BEGIN failed--compilation aborted at t/03-compile.t line 3.
t/03-compile.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...
It seems that this construct is not anymore fatal with perl 5.28 and later, but it still emits a warning.