| 1 |
Source: libhash-merge-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Martin Zobel-Helas <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: libclone-choose-perl <!nocheck>, |
| 9 |
perl |
| 10 |
Standards-Version: 4.5.0 |
| 11 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhash-merge-perl |
| 12 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhash-merge-perl.git |
| 13 |
Homepage: https://metacpan.org/release/Hash-Merge |
| 14 |
Rules-Requires-Root: no |
| 15 |
|
| 16 |
Package: libhash-merge-perl |
| 17 |
Architecture: all |
| 18 |
Depends: ${misc:Depends}, |
| 19 |
${perl:Depends}, |
| 20 |
libclone-choose-perl |
| 21 |
Description: Perl module for merging arbitrarily deep hashes into a single hash |
| 22 |
Hash::Merge merges two arbitrarily deep hashes into a single hash. That |
| 23 |
is, at any level, it will add non-conflicting key-value pairs from one |
| 24 |
hash to the other, and follows a set of specific rules when there are key |
| 25 |
value conflicts (as outlined below). The hash is followed recursively, |
| 26 |
so that deeply nested hashes that are at the same level will be merged |
| 27 |
when the parent hashes are merged. Please note that self-referencing |
| 28 |
hashes, or recursive references, are not handled well by this method. |
| 29 |
. |
| 30 |
Values in hashes are considered to be either ARRAY references, |
| 31 |
HASH references, or otherwise are treated as SCALARs. By default, the |
| 32 |
data passed to the merge function will be cloned using the Clone module; |
| 33 |
however, if necessary, this behavior can be changed to use as many of |
| 34 |
the original values as possible. (See set_clone_behavior). |