Merges arbitrarily deep hashes into a single hash

Edit Package perl-Hash-Merge
https://metacpan.org/release/Hash-Merge

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

Refresh
Refresh
Source Files
Filename Size Changed
Hash-Merge-0.12.tar.bz2 0000008359 8.16 KB
perl-Hash-Merge.changes 0000000170 170 Bytes
perl-Hash-Merge.spec 0000002460 2.4 KB
Revision 1 (latest revision is 15)
Christian Wittmer's avatar Christian Wittmer (computersalat) accepted request 48839 from David Bahi's avatar David Bahi (dbahi) (revision 1)
reviewed, OK, Thank you
Comments 0
openSUSE Build Service is sponsored by