Closed syohex closed 9 years ago
I got same error when there are some characters before -
in bracket in regexp literal.
# test.pl
/[1-]/;
% perl -MPerl::Lint -wle 'Perl::Lint->new->lint(shift)' test.pl
Can't use an undefined value as an ARRAY reference at /home/syohei/.plenv/versions/5.20.0/lib/perl5/site_perl/5.20.0/Regexp/Parser.pm line 191, <$fh> line 1.
Umm, it looks Regexp::Parser's matter. I feel difficult to use Regexp::Parser on this project...
I checked failed cases. Most of them failed lint by this and #53.
I got