This nitpicking rules removes C<scalar> keywords that are use in scalar context, for example, in this statement:
my $n = scalar @items;
Since the left hand side is a single scalar variable, the assignment is already in scalar context. It is not necessary to include C<scalar> on the right-hand side.