Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libhash-merge-perl

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

Homepage:
Package version:0.12-2
Architecture:all
Distribution:Debian
Filename:libhash-merge-perl_0.12-2_all.deb

/usr/share/man/man3/Hash::Merge.3pm.gz

Merge(3pm)       User Contributed Perl Documentation      Merge(3pm)



NAME
       Hash::Merge - Merges arbitrarily deep hashes into a single
       hash

SYNOPSIS
           use Hash::Merge qw( merge );
           my %a = (
                       'foo'    => 1,
                   'bar'    => [ qw( a b e ) ],
                   'querty' => { 'bob' => 'alice' },
               );
           my %b 
more»

/usr/share/doc/libhash-merge-perl/changelog.Debian.gz

libhash-merge-perl (0.12-2) unstable; urgency=low

  * Take over (see http://lists.debian.org/debian-perl/2011/07/msg00003.html).
  * Added Homepage and Vcs-* fields in d/control.
  * Bump to 3.9.2 Standard-Version.
  * Add myself to Uploaders and Copyright.
  * Switch d/compat to 8.
  * Build-Depends: switch to debhelper (>= 8).
  * Switch to DEP5 license format.

 -- Fabrizio Regalli <fabreg@fab
more»

/usr/share/doc/libhash-merge-perl/changelog.gz

Revision history for Perl extension Hash::Merge.

0.12  Mon Feb 15 19:23:52 CST 2010
    Thanks to MONS for addressing these:
    - rt 39183 fallback to Clone::PP if needed/possible
    - rt 43056 OO support for more sane behavior non-trampling
    
    This version is a cleaned up version of MONS' patch in rt 43056 plus:
    
    Added tests for OO behavior.
    Cleaned up POD a little
    perlti
more»

/usr/share/doc/libhash-merge-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libhash-merge-perl_0.12-2_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libhash-merge-perl_0.12-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com