The Perl::Critic::Policy::Plicease::ProhibitArrayAssignAref policy is a fork
of Perl::Critic::Policy::ValuesAndExpressions::ProhibitArrayAssignAref. It
differs from the original by not having a dependency on List::MoreUtils.
.
It asks you not to assign an anonymous arrayref to an array
.
@array = [ 1, 2, 3 ]; # bad
.
The idea is that it's rather unclear whether an arrayref is intended, or
might have meant to be a list like
.
@array = ( 1, 2, 3 );
Installed Size: 31.7 kB
Architectures: all