Subject: | PPIx::Regexp::Lexer fails in Perl::Critic under Perl 5.13.0 |
Perl::Critic test xt/author/40_criticize_code.t fails with messages like
# Failed test 'Test::Perl::Critic for "blib/lib/Perl/Critic/TestUtils.pm"'
# at /usr/local/perl/5.13.0/lib/site_perl/5.13.0/Test/Perl/Critic.pm
line 110.
#
# Perl::Critic had errors in "blib/lib/Perl/Critic/TestUtils.pm":
# Modification of non-creatable array value attempted, subscript -1 at
/Users/tom/Code/perl/PPIx-Regexp/lib/PPIx/Regexp/Lexer.pm line 444.
All I know about the problem so far is that:
* It does not fail under 5.12.0.
* It does not fail when I feed lib/Perl/Critic/TestUtils.pm directly to
PPIx::Regexp.
* The diagnostic is not new with 5.13.0.