[](
https://gitlab.com/mziescha/Perl-Critic-Policy-Variables-RequireHungarianNotation/commits/master)
Perl-Critic-Policy-Variables-RequireHungarianNotation
Don't clutter your code with unnecessary variable initialization:
my @array = (); # don't do this
my %hash = (); # or this
my $hashref = {}; # or this
my $arrayref = []; # or this
my $string = ''; # or this
Instead, do this:
my @a_array = (); # do this
my %h_hash = (); # and this
my $hr_hashref = {}; # and this
my $hr_arrayref = []; # and this
my $s_string = ''; # and this
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
* Perl::Critic::Policy
* Perl::Critic::Utils
COPYRIGHT AND LICENCE
Copyright (C) 2018, Mario Zieschang
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.