Skip to content

Perl5 module which merges arbitrarily deep hashes into a single hash

Notifications You must be signed in to change notification settings

bemeyert/Hash-Merge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hash/Merge version $Revision: 0.12 $
=========================================

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 see the POD for the module for additional information.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

While this module doesn't depend on any other methods, the testing
script does require Test::More.

COPYRIGHT AND LICENCE

Copyright (c) 2001 Michael K. Neylon. All rights reserved.

This library is free software.  You can redistribute it and/or modify it 
under the same terms as Perl itself.

ACKNOWLEDGEMENTS

Thanks to:
- Chuck Charbeneau for pointing out interference bugs from ActiveState
- Jeff Fitzgibbon for pointing out inconsistance typo in POD
- Daniel Muey for the v0.09 refactor to clean up the code
- Daniel Muey for the v0.10 clean up the POD Synopsis

About

Perl5 module which merges arbitrarily deep hashes into a single hash

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%