SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash rpm build for : OpenSuSE. For other distributions click perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash.

Name : perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash
Version : 0.008 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 15:30:38
Group : Development/Libraries/Perl Source RPM : perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008-lp155.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : Don\'t write loops on hashes, only on keys and values of hashes
Description :
When \"looping over hashes,\" we mean looping over hash keys or hash values.
If you forgot to call \'keys\' or \'values\' you will accidentally loop over
both.

foreach my $foo (%hash) {...} # not ok
action() for %hash; # not ok
foreach my $foo ( keys %hash ) {...} # ok
action() for values %hash; # ok

An effort is made to detect expressions:

action() for %hash ? keys %hash : (); # ok
action() for % ? keys % : (); # ok

(Granted, the second example there doesn\'t make much sense, but I have
found a variation of it in real code.)

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

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008-lp155.1.1.noarch.rpm
     

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

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(List::Util) >= 1.33
perl(Perl::Critic) >= 1.126
perl(parent)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Perl
/usr/lib/perl5/vendor_perl/5.26.1/Perl/Critic
/usr/lib/perl5/vendor_perl/5.26.1/Perl/Critic/Policy
/usr/lib/perl5/vendor_perl/5.26.1/Perl/Critic/Policy/Variables
/usr/lib/perl5/vendor_perl/5.26.1/Perl/Critic/Policy/Variables/ProhibitLoopOnHash.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash
/usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash/Changes
/usr/share/doc/packages/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash/README
/usr/share/licenses/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash
/usr/share/licenses/perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash/LICENSE
/usr/share/man/man3/Perl::Critic::Policy::Variables::ProhibitLoopOnHash.3pm.gz

 
ICM