Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libhash-merge-simple-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: libhash-merge-simple-perl  ]

Paket: libhash-merge-simple-perl (0.051-2)

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.

Andere Pakete mit Bezug zu libhash-merge-simple-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libhash-merge-simple-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 7,1 kB22 kB [Liste der Dateien]