SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Perl-Critic-Policy-Variables-RequireHungarianNotation rpm build for : openSUSE Tumbleweed. For other distributions click perl-Perl-Critic-Policy-Variables-RequireHungarianNotation.

Name : perl-Perl-Critic-Policy-Variables-RequireHungarianNotation
Version : 0.0.7 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.54 Date : 2024-08-05 20:31:30
Group : Development/Libraries/Perl Source RPM : perl-Perl-Critic-Policy-Variables-RequireHungarianNotation-0.0.7-1.54.src.rpm
Size : 0.03 MB
Packager : (none)
Summary : Critic policy for hungarian notation
Description :
Don\'t let anyone guess which type you expect in your code:

my AATTarray = (); # don\'t do this
my %hash = (); # or this
my $hashref = {}; # or this
my $arrayref = []; # or this
my $string = \'\'; # or this

The policy is also running through sub declarations.


sub some_sub {
my ($self, $arrayref, $string) = AATT_;
...
}

Instead, do this:

my AATTa_array = (); # do this
my %h_hash = (); # and this
my $hr_hashref = {}; # and this
my $ar_arrayref = []; # and this
my $s_string = \'\'; # and this


sub some_sub {
my ($self, $ar_arrayref, $s_string) = AATT_;
...
}

$self as variable is excluded.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Perl-Critic-Policy-Variables-RequireHungarianNotation-0.0.7-1.54.noarch.rpm
     

Provides :
perl(Perl::Critic::Policy::Variables::RequireHungarianNotation)
perl-Perl-Critic-Policy-Variables-RequireHungarianNotation

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(Perl::Critic::Policy)
perl(Perl::Critic::Utils)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Perl
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic/Policy
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic/Policy/Variables
/usr/lib/perl5/vendor_perl/5.40.0/Perl/Critic/Policy/Variables/RequireHungarianNotation.pm
/usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-RequireHungarianNotation
/usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-RequireHungarianNotation/Changes
/usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-RequireHungarianNotation/README.md
/usr/share/licenses/perl-Perl-Critic-Policy-Variables-RequireHungarianNotation
/usr/share/licenses/perl-Perl-Critic-Policy-Variables-RequireHungarianNotation/LICENSE
/usr/share/man/man3/Perl::Critic::Policy::Variables::RequireHungarianNotation.3pm.gz

 
ICM