Packages / openSUSE Leap 15.6 / Development/Libraries/Perl / perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash

Package: perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash (0.008-bp156.3.1)

Don't write loops on hashes, only on keys and values of hashes

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

Package information

Homepage
[https://metacpan.org/release/Perl-Critic-Policy-Variables-ProhibitLoopOnHash]
License
Artistic-1.0 OR GPL-1.0-or-later
Mantenedor do pacote downstream
Desconhecido: não informado na fonte indexada
Pacote fonte
[perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash]
Software project
[libperl-critic-policy-variables-prohibitlooponhash-perl]

Versions and downloads for perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
0.008-bp156.3.1leap-15.6 / ossnoarchopenSUSE Leap 15.6 · OSS · multi-architecture21 KiB28 KiBlist of filesperl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.008-bp156.3.1.noarch.rpm
About these downloads

Cada linha é metadado do índice de pacotes para uma versão, arquitetura, suite e repositório. Nomes, URLs e tamanhos vêm da fonte; um link é um ponto de obtenção mutável, não uma redistribuição da OpenFactory.

Dependencies and recommendations for perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash

  • dep: perl(:MODULE_COMPAT_5.26.1)

    Package not available

  • dep: perl(List::Util) (>= 1.33)

    Package not available

  • dep: perl(Perl::Critic) (>= 1.126)

    Package not available

  • dep: perl(parent)

    Package not available

Caminhos de arquivo do pacote (12)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /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

Field source: openSUSE Leap 15.6 OSS

Vulnerabilidades conhecidas

Nenhum aviso correspondente nas fontes acompanhadas.

Última sincronização:

[Catálogo de CVE]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

0.008-bp156.3.1 / noarchObservado Sep 1, 2026sha512 94619fed29ff…033236b5Resumo da fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Resumo da fonte (sha512): 94619fed29ffab9a573b69e18242b2608ec4f55967666c9ab69a44c577fac5dfd70b87b59830a22339e919849e33d74742107e5a26b376f15130ee6f033236b5

Field source: openSUSE Leap 15.6 OSS

Fontes

  • Authoritative source; repository metadata signature verified

    Evidência de assinatura

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Usar este pacote

O OpenFactory pode iniciar este sistema operacional em uma máquina virtual do navegador, ou começar uma construção que inclui o nome nativo do pacote deste registro.