---
name: "Catmandu::Fix::paste"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::paste"
---

# Catmandu::Fix::paste(3pm)

concatenate path values

## NAME

Catmandu::Fix::paste - concatenate path values

## SYNOPSIS

```
   # 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 works even when not all values are instantiated
   paste(my.string,x,a,z)                   # my.string: eeny
```

## DESCRIPTION

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.

When a path doesn't exist it is regarded as having an empty '' value.

## SEE ALSO

Catmandu::Fix
