Catmandu::Fix::paste
concatenate path values
- Provided by: libcatmandu-perl (Version: 1.1000-2)
- Report a bug
concatenate path values
# If you data record is: # a: eeny # b: meeny # c: miny # d: moe paste(my.string,a,b,c,d) # my.string: eeny meeny miny moe # Use a join character paste(my.string,a,b,c,d,join_char:", ") # my.string: eeny, meeny, miny, moe # Paste literal strings with a tilde sign paste(my.string,~Hi,a,~how are you?) # my.string: Hi eeny how are you?
Paste places a concatenation of all paths starting from the second path into the first path. Literal values can be pasted by prefixing them with a tilde (~) sign.
Catmandu::Fix