Subject: | False Positive: ValuesAndExpressions::ProhibitMismatchedOperators with 'foo' x 15 . 'bar' |
Date: | Thu, 11 Feb 2010 12:29:40 -0500 |
To: | bug-Perl-Critic [...] rt.cpan.org |
From: | dillman [...] ria.buffalo.edu |
Not exactly a huge issue, but I thought I'd document it...
I've noticed a false positive in
ValuesAndExpressions::ProhibitMismatchedOperators when used against code
containing a construct like the following:
'foo' x 15 . 'bar'
It flags the 15 & . as incompatible when the x has a higher precedence
than . and produces a string.
Thomas J. Dillman
Research Institute on Addictions
1021 Main Street, Buffalo, NY 14203