CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

devel/p5-Data-ModeMerge 0.360

Merge two nested data structures, with merging modes and options

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 0.360
Upstream
up to date
Last update
to 0.360 · df6fe72df2
Quarterly
2026Q4: 0.360
WWW
https://metacpan.org/dist/Data-ModeMerge
Links
cgit · VuXML

Install

Package
# pkg install p5-Data-ModeMerge
installs 0.360 from latest; from quarterly (2026Q4) 0.360
Port
# cd /usr/ports/devel/p5-Data-ModeMerge && make install clean
Size
45 KiB download · 135 KiB installed
Depends on
devel/p5-Data-Dmp 0.242, devel/p5-Mo 0.40,1, lang/perl5.42 5.42.3
License
ART10 or GPLv1+

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 160.3600.360–
FreeBSD 150.3600.360–
FreeBSD 140.3600.3600.360

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 150.3600.360–
FreeBSD 140.3600.3600.360

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 0.360.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (2)

Po-Chuan Hsieh (sunpoet) · 0.360
devel/p5-Data-ModeMerge: Use real PORTVERSION
df6fe72df2
Po-Chuan Hsieh (sunpoet) · 0.36.0
devel/p5-Data-ModeMerge: Add p5-Data-ModeMerge 0.360

There are already several modules on CPAN to do recursive data structure
merging, like Data::Merger and Hash::Merge. Data::ModeMerge differs in that it
offers merging "modes" and "options". It provides greater flexibility on what
the result of a merge between two data should/can be. This module may or may not
be what you need.

One application of this module is in handling configuration. Often there are
multiple levels of configuration, e.g. in your typical Unix command-line program
there are system-wide config file in /etc, per-user config file under ~/, and
command-line options. It's convenient programatically to load each of those in a
hash and then merge system-wide hash with the per-user hash, and then merge the
result with the command-line hash to get the a single hash as the final
configuration. Your program can from there on deal with this just one hash
instead of three.

In a typical merging process between two hashes (left-side and right-side), when
there is a conflicting key, then the right-side key will override the left-side.
This is usually the desired behaviour in our said program as the system-wide
config is there to provide defaults, and the per-user config (and the
command-line arguments) allow a user to override those defaults.
d8f371acc0