BSD Ports

devel/p5-Hash-Merge-Simple 0.052 FreeBSD

Recursively merge two or more hashes, simply

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
13.4 KiB, 33.5 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

SystemPortVersion
FreeBSDdevel/p5-Hash-Merge-Simple0.052
OpenBSDdevel/p5-Hash-Merge-Simple0.052
NetBSDdevel/p5-Hash-Merge-Simple0.052nb1
DragonFlydevel/p5-Hash-Merge-Simple0.052

Install

Binary package:

pkg install p5-Hash-Merge-Simple

From the ports tree:

cd /usr/ports/devel/p5-Hash-Merge-Simple/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Hash-Merge-Simple>0:devel/p5-Hash-Merge-Simple

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0520.0520.051_50.0520.052
FreeBSD:14:quarterly0.0520.052n/a0.0520.052
FreeBSD:15:latest0.0520.052n/a0.0520.052
FreeBSD:15:quarterly0.0520.052n/an/an/a
FreeBSD:16:latest0.0520.052n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Hash/Merge/Simple.pm
  • %%PERL5_MAN3%%/Hash::Merge::Simple.3.gz
distinfo 1
FileSizeSHA256
Hash-Merge-Simple-0.052.tar.gz17507c27f20895814a96e0c5bd0ca3315bf901d79706e3bab4ab0d946debc2c429c0b
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.