The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Pipe - pass structure to external program and apply result.

OPTIONS

--[no]blame

Blame calculation toggle. Enabled by default.

--command|--cmd <command>

Command to run. JSON encoded structure passed to it's STDIN and it's STDOUT applied to original structure. Exit 0 expected for success.

--cond <path>

Apply rule when condition met only. Condition is met when path leads to at least one item in the structure. May be used several times (in this case conditions are AND'ed).

--path <path>

Path to substructure to deal with.

--preserve <path>

Preserve specified substructure. May be used several times.

--strict

Fail if specified path doesn't exist.

SEE ALSO

ndproc, ndproc-modules

nddiff, ndquery, Struct::Path::PerlStyle