Merge - merge structures according provided rules
Blame calculation toggle. Enabled by default.
Ignore part from source structure. Rule-wide option. May be used several times.
Path in the source structure to merge. Whole structure will be merged if omitted or empty. May be specified several times.
Preserve specified parts from original structure. Rule-wide option. May be used several times.
Source to merge with. Original processing structure will be used if option specified, but value not defined or empty. Rule-wide option. May be used several times.
Fail if specified path doesn't exists in source structure. Positional opt - define rule default if used before --merge, per-merge opt otherwise. Enabled by default.
Merge style. Positional option - define rule default if used before --merge, per-merge opt otherwise.
Hashes merged, arrays joined, undefined scalars overrided. Left and right precedence.
JSON Merge Patch (rfc7386). Almost the same as L_OVERRIDE and R_OVERRIDE, but hash keys with undef values in the patch cause removal of existing keys in the main structure. Left and right precedence.
L_OVERRIDE
R_OVERRIDE
Hashes merged, arrays and scalars overrided. Left and right precedence.
Nothing merged. One thing simply replaced by another. Left and right precedence.
Default is R_OVERRIDE
ndproc(1), ndproc-modules(1)
nddiff(1), ndquery(1), Struct::Path::PerlStyle
To install App::NDTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::NDTools
CPAN shell
perl -MCPAN -e shell install App::NDTools
For more information on module installation, please visit the detailed CPAN module installation guide.