Subject: | False positive for ValuesAndExpressions::ProhibitCommaSeparatedStatements |
Hi,
I think i came accross a false positive.
For the code:
package main;
# pragmata
use strict;
use warnings;
use 5.008;
my ( @head, @tail );
foreach ( @head, @tail )
{
}
1;
I get:
me@home:> perlcritic -severity 4 comma_seperated.pl
Comma used to separate statements at line 10, column 11. See pages
68,71 of PBP. (Severity: 4)
Regards,
Bernhard