NAME

TooMuchCode::ProhibitUnnecessaryScalarKeyword

DESCRIPTION

This policy dictates that the use of `scalar` for in statement like this needs to be removed:

my $n = scalar @items;

If the left-hand side of assigiment is a single scalar variable, then the assignment is in scalar contetx. There is no need to add scalar keyword.

1;