[ 源代码: libhash-merge-simple-perl ]
软件包:libhash-merge-simple-perl(0.051-2)
libhash-merge-simple-perl 的相关链接
Debian 的资源:
下载源码包 libhash-merge-simple-perl:
- [libhash-merge-simple-perl_0.051-2.dsc]
- [libhash-merge-simple-perl_0.051.orig.tar.gz]
- [libhash-merge-simple-perl_0.051-2.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
Perl module to easily merge two or more hashes
Hash::Merge::Simple will recursively merge two or more hashes and return the result as a new hash reference. The merge function will descend and merge hashes that exist under the same node in both the left and right hash, but doesn't attempt to combine arrays, objects, scalars, or anything else. The rightmost hash also takes precedence, replacing whatever was in the left hash if a conflict occurs.
This code is based on Catalyst::Utils, but was modified to handle merging more than two hashes simultaneously.