devel/p5-Hash-Merge-Simple 0.052 DragonFly
Recursively merge two or more hashes, simply
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 12.5 KiB, 33.8 KiB installed
Description
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 was pretty much taken straight from Catalyst::Utils, and modified to handle more than 2 hashes at the same time.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Hash-Merge-Simple | 0.052 |
| FreeBSD | devel/p5-Hash-Merge-Simple | 0.052 |
| OpenBSD | devel/p5-Hash-Merge-Simple | 0.052 |
| NetBSD | devel/p5-Hash-Merge-Simple | 0.052nb1 |
| HardenedBSD | devel/p5-Hash-Merge-Simple | 0.052 |
| GhostBSD | devel/p5-Hash-Merge-Simple | 0.052 |
Install
Binary package:
pkg install p5-Hash-Merge-Simple
From DPorts:
cd /usr/dports/devel/p5-Hash-Merge-Simple && make install clean