This nitpicking rules removes 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 scalar on the right-hand side.