Package : perl-Hash-Merge > RPM : perl-Hash-Merge-0.300.0-2.mga7.noarch.rpm

Basic items

Name perl-Hash-Merge
Version 0.300.0
Release 2.mga7
Group Development/Perl
Summary Merges arbitrarily deep hashes into a single hash
Size 30KB
Arch noarch
License GPL+ or Artistic


Hash::Merge merges two arbitrarily deep hashes into a single hash. That is,
at any level, it will add non-conflicting key-value pairs from one hash to
the other, and follows a set of specific rules when there are key value
conflicts (as outlined below). The hash is followed recursively, so that
deeply nested hashes that are at the same level will be merged when the
parent hashes are merged. *Please note that self-referencing hashes, or
recursive references, are not handled well by this method.*

Values in hashes are considered to be either ARRAY references, HASH
references, or otherwise are treated as SCALARs. By default, the data
passed to the merge function will be cloned using the Clone module;
however, if necessary, this behavior can be changed to use as many of the
original values as possible. (See 'set_clone_behavior').

Because there are a number of possible ways that one may want to merge
values when keys are conflicting, Hash::Merge provides several preset
methods for your convenience, as well as a way to define you own. These are

Media information

Distribution release Mageia 7
Media name core-release
Media arch i586

Advanced items

Source RPM perl-Hash-Merge-0.300.0-2.mga7.src.rpm
Build time 2018-09-20 11:21:11
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie