Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libhash-merge-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libhash-merge-perl  ]

软件包: libhash-merge-perl (0.299-1)

Perl module for merging arbitrarily deep hashes into a single hash

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

其他与 libhash-merge-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libclone-choose-perl
    Choose appropriate clone utility (Perl library)
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libhash-merge-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 11.8 kB35 kB [文件列表]