libperl-critic-policy-plicease-prohibitarrayassignaref-perl - 100.00-2 main

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 );

Priority: optional
Section: perl
Suites: dawn landing 
Maintainer: Debian Perl Group <pkg-perl-maintainers [꩜] lists.alioth.debian.org>
 
Homepage Source Package
 

Dependencies

Installed Size: 31.7 kB
Architectures: all 

 

Versions

100.00-2 all