in reply to Re^4: What is the easiest way to merge two hashes?
in thread What is the easiest way to merge two hashes?
In the more complex case, you need to exactly specify what you want to happen. You might specify for two identical keys that both point to hash refs you want to recursively apply the procedure. But what will happen if in one hash the common key points to a scalar and in the other to a hash ref. Or if there are array refs containing hash refs, etc? Can these complexities be ruled out?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: What is the easiest way to merge two hashes?
by tkguifan (Scribe) on Feb 15, 2015 at 08:57 UTC |