perl-Acme-HashKeyOrderBrokenAgain-0.02-alt1.noarch.rpm


Advertisement

Description

perl-Acme-HashKeyOrderBrokenAgain - Request reproducable hash keys order within a script and verify if Perl complies

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-Acme-HashKeyOrderBrokenAgain
Package version: 0.02
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 4.01 KB
Download size: 4.01 KB
Official Mirror: ftp.altlinux.org
We all know that Perl's keys() function will return the keys of a hash in unpredictable order. However, for testing purposes, we sometimes need the keys by keys() to be returned in deterministic order, which means that although the order can't be predicted up front, subsequent calls to keys() within the same script should return the keys in the same order if (and only if) $ENV{ PERL_PERTURB_KEYS } = "DETERMINISTIC" is set. This module checks if the feature actually works, and will hopefully alert Perl Porters via automatic CPAN smoke tests if it's broken. If the above assumption is incorrect, please drop me a message, I'll adapt this module accordingly. See http://perlmonks.org/?node_id=1056280 and https://github.com/mschilli/php-httpbuildquery-perl/pull/3 for details on this issue.

Alternatives

Requires

Provides

  • perl(Acme/HashKeyOrderBrokenAgain.pm) = 0.020
  • perl-Acme-HashKeyOrderBrokenAgain = 0.02-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-Acme-HashKeyOrderBrokenAgain rpm package:
      # sudo apt-get install perl-Acme-HashKeyOrderBrokenAgain

    Files

    • /usr/share/doc/perl-Acme-HashKeyOrderBrokenAgain-0.02/Changes
    • /usr/share/doc/perl-Acme-HashKeyOrderBrokenAgain-0.02/README
    • /usr/share/perl5/Acme/HashKeyOrderBrokenAgain.pm
    Advertisement
    Advertisement