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

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

add a value to the record based on a template

## NAME

Catmandu::Fix::template - add a value to the record based on a template

## SYNOPSIS

```
   # Your record contains:
   #
   #  name: John
   #  age: 44
   template(message,"Mr [%name%] is [%age%] years old")
   # Result:
   #
   #  name: John
   #  age: 44
   #  message: Mr John is 44  years old
```

## SEE ALSO

Catmandu::Fix, Template
