Package: wnpp
Owner: gregor herrmann <gre...@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-de...@lists.debian.org, debian-p...@lists.debian.org

* Package name    : libperl-critic-policy-plicease-prohibitarrayassignaref-perl
  Version         : 100.00
  Upstream Author : Kevin Ryde Graham Ollis <plice...@cpan.org>
* URL             : 
https://metacpan.org/release/Perl-Critic-Policy-Plicease-ProhibitArrayAssignAref
* License         : GPL-3+
  Programming Lang: Perl
  Description     : Perl::Critic policy about not assigning an anonymous 
arrayref to an array

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

The package will be maintained under the umbrella of the Debian Perl Group.

--
Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.

Attachment: signature.asc
Description: Digital Signature

Reply via email to