| 1 |
Source: libhash-merge-simple-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: Florian Schlichting <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: libclone-perl <!nocheck>, |
| 9 |
libtest-simple-perl <!nocheck>, |
| 10 |
perl |
| 11 |
Standards-Version: 4.7.0 |
| 12 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhash-merge-simple-perl |
| 13 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhash-merge-simple-perl.git |
| 14 |
Homepage: https://metacpan.org/release/Hash-Merge-Simple |
| 15 |
Rules-Requires-Root: no |
| 16 |
|
| 17 |
Package: libhash-merge-simple-perl |
| 18 |
Architecture: all |
| 19 |
Multi-Arch: foreign |
| 20 |
Depends: ${misc:Depends}, |
| 21 |
${perl:Depends}, |
| 22 |
libclone-perl |
| 23 |
Description: Perl module to easily merge two or more hashes |
| 24 |
Hash::Merge::Simple will recursively merge two or more hashes and return the |
| 25 |
result as a new hash reference. The merge function will descend and merge |
| 26 |
hashes that exist under the same node in both the left and right hash, but |
| 27 |
doesn't attempt to combine arrays, objects, scalars, or anything else. The |
| 28 |
rightmost hash also takes precedence, replacing whatever was in the left hash |
| 29 |
if a conflict occurs. |
| 30 |
. |
| 31 |
This code is based on Catalyst::Utils, but was modified to handle merging more |
| 32 |
than two hashes simultaneously. |